Runs a given Shell command.
- command - Required - The shell command to run.
setup:
shell:
command: "bin/console build"
You should understand, that in old configuration type, you can run only one command!
setup:
shell:
- "cd /www"
- "chmod u+x %BUILD_PATH%/bin/console"
- "%BUILD_PATH%/bin/console build"
So if you want cd to directory and then run script there, combine those two commands into one like:
setup:
shell:
- "cd %BUILD_PATH% && php artisan migrate" # Laravel Migrations