- Run
git pull
command indirtyPath
- Run
npm install
command indirtyPath
- Notify app about restart
- Run
stopCommand
command inprodPath
- Remove
prodPath
- Copy
dirtyPath
toprodPath
- Run
startCommand
inprodPath
{
"port": 6735,
"dirtyPath": "/home/ec2-user/project-dirty",
"prodPath": "/home/ec2-user/project",
"stopCommand": "./stop.sh",
"startCommand": "./start.sh"
}