diff --git a/Shell-plugin.md b/Shell-plugin.md index 1bac130..7463dcc 100644 --- a/Shell-plugin.md +++ b/Shell-plugin.md @@ -7,18 +7,20 @@ Runs a given Shell command. * **command** - Required - The shell command to run. ```yml -shell: - command: "bin/console build" +setup: + shell: + command: "bin/console build" ``` You should understand, that in old configuration type, you can run only one command! ### New format of Configuration Options ```yml -shell: - - "cd /www" - - "chmod u+x %buildpath%/bin/console" - - "%BUILD_PATH%/bin/console build" +setup: + shell: + - "cd /www" + - "chmod u+x %buildpath%/bin/console" + - "%BUILD_PATH%/bin/console build" ``` #### Each new command forgets about what was before @@ -26,8 +28,9 @@ shell: So if you want cd to directory and then run script there, combine those two commands into one like: ```yml -shell: - - "cd %BUILD_PATH% && php artisan migrate" # Laravel Migrations +setup: + shell: + - "cd %BUILD_PATH% && php artisan migrate" # Laravel Migrations ```