|
1 | 1 | module.exports = { |
2 | | - "apps" : [ |
3 | | - { |
4 | | - "name" : "validatejavascript.com", |
5 | | - "script" : "packages/backend/index.js", |
6 | | - "error_file": "/var/web/eslint.io/logs/err.log", |
7 | | - "out_file": "/var/web/eslint.io/logs/out.log", |
8 | | - "env": { |
9 | | - "NODE_ENV": "production", |
10 | | - "PORT": "5004" |
11 | | - }, |
12 | | - "env_production" : { |
| 2 | + apps: [ |
| 3 | + { |
| 4 | + name: 'validatejavascript.com', |
| 5 | + script: 'packages/backend/index.js', |
| 6 | + error_file: '/var/web/eslint.io/logs/err.log', |
| 7 | + out_file: '/var/web/eslint.io/logs/out.log', |
| 8 | + env: { |
| 9 | + NODE_ENV: 'production', |
| 10 | + PORT: '5004' |
| 11 | + }, |
| 12 | + env_production: { |
13 | 13 |
|
| 14 | + } |
14 | 15 | } |
15 | | - } |
16 | 16 | ], |
17 | | - "deploy" : { |
18 | | - "production" : { |
19 | | - "user" : "deployer", |
20 | | - "host" : "192.241.157.86", |
21 | | - "ref" : "origin/master", |
22 | | - "repo" : "git@github.com:circlecell/eslint.io.git", |
23 | | - "path" : "/var/web/eslint.io", |
24 | | - "ssh_options": ["StrictHostKeyChecking=no", "PasswordAuthentication=no"], |
25 | | - "post-deploy" : "npm run install-all && npm run build && npm start" |
| 17 | + deploy: { |
| 18 | + production: { |
| 19 | + user: 'deployer', |
| 20 | + host: '192.241.157.86', |
| 21 | + ref: 'origin/master', |
| 22 | + repo: 'git@github.com:circlecell/eslint.io.git', |
| 23 | + path: '/var/web/eslint.io', |
| 24 | + ssh_options: ['StrictHostKeyChecking=no', 'PasswordAuthentication=no'], |
| 25 | + 'post-deploy': 'npm run install-all && npm run build && npm start' |
| 26 | + } |
26 | 27 | } |
27 | | - } |
28 | | -} |
| 28 | +}; |
0 commit comments