mirror of
https://github.com/danbulant/Shasha
synced 2026-05-19 03:58:38 +00:00
23 lines
498 B
JavaScript
23 lines
498 B
JavaScript
module.exports = {
|
|
apps: [{
|
|
name: "shasha",
|
|
script: 'Main.js',
|
|
watch: '.'
|
|
}, {
|
|
script: './service-worker/',
|
|
watch: ['./service-worker']
|
|
}],
|
|
|
|
deploy: {
|
|
production: {
|
|
user: 'SSH_USERNAME',
|
|
host: 'SSH_HOSTMACHINE',
|
|
ref: 'origin/master',
|
|
repo: 'GIT_REPOSITORY',
|
|
path: 'DESTINATION_PATH',
|
|
'pre-deploy-local': '',
|
|
'post-deploy': 'npm install && pm2 reload ecosystem.config.js --env production',
|
|
'pre-setup': ''
|
|
}
|
|
}
|
|
};
|