Fix redirect and restart frontend on push
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -45,6 +45,7 @@ steps:
|
||||
- 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"
|
||||
when:
|
||||
branch:
|
||||
- monorepo
|
||||
|
||||
Reference in New Issue
Block a user