Skip to content

Commit

Permalink
Start app after deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Pof Magicfingers committed Nov 1, 2018
1 parent 663d5a5 commit 9ae389d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = {
repo: "[email protected]:PodShows/podcloud-stats.git",
path: "/home/podcloud/preprod/stats",
"pre-deploy-local": "ssh-keyscan eve.podradio.fr >> ~/.ssh/known_hosts",
"post-deploy": "npm install",
"post-deploy": "npm install && NODE_ENV=preprod pm2 startOrReload ecosystem.config.js --env preprod",
env: {
NODE_ENV: "preprod"
}
Expand Down

0 comments on commit 9ae389d

Please sign in to comment.