From 72a395e8131c9849dcc11bbd9b3a214eb6310f44 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Tue, 22 Mar 2022 16:21:58 +0300 Subject: [PATCH] Specified port --- .drone.yml | 4 ++-- app/ecosystem.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9d17424..5b36e8b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/app/ecosystem.config.js b/app/ecosystem.config.js index 04bd8c7..cd9d71e 100644 --- a/app/ecosystem.config.js +++ b/app/ecosystem.config.js @@ -1,6 +1,6 @@ module.exports = { apps: [{ - name: 'warframe-center-app', + name: 'warframe-center-app-3000', script: 'npm run start', watch: false }]