forked from shri-2015-org/shriek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.json5
34 lines (33 loc) · 918 Bytes
/
ecosystem.json5
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
{
apps: [{
name: "Shriek",
script: "index.js",
env: {
NODE_ENV: "dev"
},
env_production: {
NODE_ENV: "production"
}
}],
deploy: {
production: {
user: "shriek",
host: "128.199.39.245",
ref: "origin/master",
repo: "[email protected]:shri-2015-org/shriek.git",
path: "/home/shriek/projects/production",
"post-deploy": "npm install --production && gulp bower sass build && NODE_ENV=production pm2 startOrRestart ecosystem-prod.json5 --env production"
},
dev: {
user: "shriek",
host: "128.199.39.245",
ref: "origin/develop",
repo: "[email protected]:shri-2015-org/shriek.git",
path: "/home/shriek/projects/dev",
"post-deploy": "npm install --production && gulp bower sass build && NODE_ENV=dev pm2 startOrRestart ecosystem-dev.json5 --env dev",
env: {
NODE_ENV: "dev"
}
}
}
}