Drone build update
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-07-03 16:59:19 +03:00
parent 3c888dc7f1
commit b956bb525d

View File

@@ -49,8 +49,13 @@ steps:
- mkdir ~/.ssh
- 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 "/home/webmaster/.nvm/versions/node/v16.14.2/bin/pm2 restart warframe-center-app-3000"
- scp -o StrictHostKeyChecking=no -r ./app/.next webmaster@warframe.center:~/warframe-center/app/.next
- |
ssh -o StrictHostKeyChecking=no webmaster@warframe.center "
"[ -s ~/.nvm/nvm.sh ] && source ~/.nvm/nvm.sh"
nvm use default
pm2 restart warframe-center-app-3000
"
depends_on:
- install dependencies