"tasks" : [
{"name":"restart","cmd":["echo $PWD"]}
]
name and cmd are required, dir is optional and default is the current deployment directory.
If dir starts with “/”, it is an absolute path; otherwise, it is a relative path under the current directory.
"tasks" : [
{"name":"echo_pwd","cmd":["echo $PWD"]},
{"name":"ls_files","cmd":["ls -al ./*", "sleep 3", "echo $HOSTNAME"]},
{"name":"exec_py","cmd":["python python/main.py"]}
],
"flows": [
"build"
,"upload"
,"symlink"
,"shareAssets"
,"uploadJob"
,"clean"
,"notify"
,"echo_pwd"
,"ls_files"
,"exec_py"
]
deploy stage:exec -c "ls -al"
```