Specified port
Some checks failed
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is failing

This commit is contained in:
2022-03-22 16:21:58 +03:00
parent 3877a37e7e
commit 72a395e813
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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
}] }]