Source interactive shell files
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-03-30 03:05:20 +03:00
parent 3f60cba322
commit 5aab4a955b

View File

@@ -17,6 +17,8 @@ steps:
- cd /home/webmaster/warframe-center && git fetch --all && git reset --hard origin/monorepo - cd /home/webmaster/warframe-center && git fetch --all && git reset --hard origin/monorepo
- name: install dependencies - name: install dependencies
commands: commands:
- source ~/.bashrc
- source ~/.profile
- cd /home/webmaster/warframe-center && npm install - cd /home/webmaster/warframe-center && npm install
trigger: trigger:
@@ -51,6 +53,9 @@ steps:
- 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-3000" - ssh -o StrictHostKeyChecking=no webmaster@warframe.center "pm2 restart warframe-center-app-3000"
depends_on:
- install dependencies
trigger: trigger:
branch: branch:
- monorepo - monorepo