Updated drone config
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user