-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.json
48 lines (45 loc) · 1.24 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"apps" : [
{
"name": "beta-blocks-server",
"script": "app.js",
"exec_interpreter": "/home/node/.nvm/versions/node/v10.15.3/bin/node",
"env_production": {
"NODE_ENV": "production"
},
"env_staging": {
"NODE_ENV": "staging"
}
},
{
"name": "beta-blocks-client",
"exec_interpreter": "/home/node/.nvm/versions/node/v10.15.3/bin/node",
"script": "/home/node/.nvm/versions/node/v10.15.3/bin/http-server",
"args": "/srv/beta-blocks-2.0/source/client/dist -p 8081"
}],
"deploy" : {
"staging" : {
"user": "node",
"host": "159.203.174.12",
"repo": "[email protected]:engagementlab/beta-blocks.git",
"ref": "origin/master",
"path": "/srv/beta-blocks",
"post-deploy" : "bash deploy.sh qa",
"env": {
"NODE_ENV": "staging"
}
},
"production" : {
"user": "node",
"host": "209.97.145.13",
"repo": "[email protected]:engagementlab/beta-blocks.git",
"ref": "origin/production",
"path": "/srv/beta-blocks",
"pre-deploy-local" : "echo 'Cloning and building.';",
"post-deploy" : "bash deploy.sh prod",
"env": {
"NODE_ENV": "production"
}
}
}
}