The script Publisher allows you to run arbitrary shell commands as part of your Orchid deploy pipeline. If the shell script execution fails, so does the whole pipeline.

Configuration is simple, just pass it a command, either as a String or an array of strings, and optionally provide it a specific directory to run from. If no cwd is given, it defaults to your resources directory.

Example configuration

 1 services:
 2   publications: 
 3     stages: 
 4       - type: script
 5         command: './'
 6       - type: script 
 7         command:
 8           - './' 
 9           - 'arg1' 
10           - 'arg2'
11         cwd: '~/orchid/deploy/scripts'

See Also:

Edit this page