-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocess.json
28 lines (28 loc) · 912 Bytes
/
process.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"apps": [
{
"name": "keyrock-starter-kit",
"script": "npm",
"args": "start",
"log_date_format": "YYYY-MM-DD HH:mm:ss.SSS"
}
],
"deploy": {
"staging": {
"user": "ubuntu",
"host": [],
"repo": "[email protected]:edse/keyrock-starter-kit.git",
"ref": "origin/dev",
"path": "/home/ubuntu/projects/keyrock-starter-kit",
"post-deploy": "source ~/.bashrc && yarn --ignore-engines && yarn clean && yarn build && pm2 startOrRestart --update-env process.json"
},
"production": {
"user": "ubuntu",
"host": [],
"repo": "[email protected]:edse/keyrock-starter-kit.git",
"ref": "origin/master",
"path": "/home/ubuntu/keyrock-starter-kit",
"post-deploy": "source ~/.bashrc && git checkout master && yarn --ignore-engines && yarn clean && yarn build && pm2 startOrRestart process.json --update-env"
}
}
}