With config set to:
Execute with / runner binary: php
Do anything with script step
#!/usr/bin/php
# fail if any commands fails
set -e
# debug log
set -x
# write your script here
echo "Bitrise... Building..."
php $BITRISE_SOURCE_DIR/poster.php $BITRISE_GIT_TAG $API_KEY
Errors:
php: command not found (Do anything with script step)
file_path: path not exist at: /bitrise/src/poster.php (Script-runner)
Not sure how to get this thing working, any help is appriciated
I understand that script-runner wont work because i’m trying to add command line argument to the file path but I don’t understand why the script@1.1.5 wont work.
It says it ended successfully but the script doesn’t seem to have run. Are the env variables not getting converted?
How would I properly run this code? Just to recap. I have a php script in my github repo. Im trying to call it using:
If you are facing some kind of process to generate the entire knowledge regarding the process to setup the installation of the PHP can be better if you get the process from the help of the Google Drive Support to generate the entire process for the knowledge.