Updated drone config
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2022-03-22 16:12:58 +03:00
parent 131a0b23f5
commit cbffc25a78
3 changed files with 2600 additions and 205 deletions

View File

@@ -6,8 +6,8 @@ clone:
disable: true
server:
host: 192.168.1.54
user: pi
host: warframe.center
user: webmaster
password:
from_secret: password
@@ -44,8 +44,9 @@ steps:
- mkdir ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 400 ~/.ssh/id_rsa
- scp -o StrictHostKeyChecking=no -r ./app/.next pi@192.168.1.54:/home/pi/warframe-center/app
- ssh -o StrictHostKeyChecking=no pi@192.168.1.54 "pm2 restart warframe-center-app"
- scp -o StrictHostKeyChecking=no -r ./app/ 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"
when:
branch:
- monorepo