-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.json
33 lines (33 loc) · 977 Bytes
/
deploy.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
29
30
31
32
33
{
"apps": [{
"name": "engagement-lab-website-api",
"script": "/srv/engagement-lab-website-2.0/source/api/app.js",
"exec_interpreter": "/home/node/.nvm/versions/node/v14/bin/node",
"env_production": {
"NODE_ENV": "production"
},
"env_staging": {
"NODE_ENV": "staging"
}
},
{
"name": "engagement-lab-website-client",
"exec_interpreter": "/home/node/.nvm/versions/node/v14.4.0/bin/node",
"script": "/home/node/.nvm/versions/node/v14.4.0/bin/http-server",
"args": "/srv/engagement-lab-website-2.0/source/client/dist -p 8082"
}
],
"deploy": {
"staging": {
"user": "node",
"host": "199.94.80.19",
"repo": "[email protected]:engagementlab/engagement-lab-website-2.x.git",
"ref": "origin/main",
"path": "/srv/engagement-lab-website-2.0",
"post-deploy": "bash ./scripts/deploy.sh qa",
"env": {
"NODE_ENV": "staging"
}
}
}
}