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