Specified port
This commit is contained in:
@@ -14,7 +14,7 @@ server:
|
||||
steps:
|
||||
- name: install
|
||||
commands:
|
||||
- cd /home/pi/warframe-center
|
||||
- cd /home/webmaster/warframe-center
|
||||
- git fetch --all
|
||||
- git reset --hard origin/monorepo
|
||||
- npm install
|
||||
@@ -45,7 +45,7 @@ steps:
|
||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||
- chmod 400 ~/.ssh/id_rsa
|
||||
- scp -o StrictHostKeyChecking=no -r ./app/.next webmaster@warframe.center:~/warframe.center
|
||||
- ssh -o StrictHostKeyChecking=no webmaster@warframe.center "pm2 restart warframe-center-app"
|
||||
- ssh -o StrictHostKeyChecking=no webmaster@warframe.center "pm2 restart warframe-center-app-3000"
|
||||
when:
|
||||
branch:
|
||||
- monorepo
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
apps: [{
|
||||
name: 'warframe-center-app',
|
||||
name: 'warframe-center-app-3000',
|
||||
script: 'npm run start',
|
||||
watch: false
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user