Skip to content

Commit

Permalink
chore: update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hvpulok committed Jul 5, 2018
1 parent b0851e3 commit 41fb45c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ pipeline {
sh 'npm run build'
}
}
stage('Deploy') {
steps {
sh 'pm2 reload lockessential'
}
}
}
}
2 changes: 1 addition & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
name: 'lockessential',
script: 'server.js',
exec_mode: 'cluster',
instances: 2,
instances: 'max',
env: {
NODE_ENV: 'production'
}
Expand Down

0 comments on commit 41fb45c

Please sign in to comment.