Skip to content

Commit

Permalink
Adding env var
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyfox committed Jul 29, 2017
1 parent f8816db commit a82ab37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecosystem.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"repo": "git@github.com:LearnNavi/Naranawm.git",
"path": "/opt/Naranawm",
"ssh_options": "StrictHostKeyChecking=no",
"post-deploy": "npm install && ./bin/rebuild && pm2 startOrRestart ecosystem.json --env production",
"post-deploy": "export NODE_ENV=kenten && npm install && ./bin/rebuild && pm2 startOrRestart ecosystem.json --env production",
"env": {
"NODE_ENV": "production"
}
Expand All @@ -36,7 +36,7 @@
"path": "/opt/Naranawm",
"ssh_options": "StrictHostKeyChecking=no",
"post-setup": "git-crypt unlock ~/Naranawm.key",
"post-deploy": "npm install && ./bin/rebuild && pm2 startOrRestart ecosystem.json --env kenten",
"post-deploy": "export NODE_ENV=kenten && npm install && ./bin/rebuild && pm2 startOrRestart ecosystem.json --env kenten",
"env": {
"NODE_ENV": "kenten"
}
Expand Down

0 comments on commit a82ab37

Please sign in to comment.