Fix redirect and restart frontend on push
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-19 03:38:25 +03:00
parent 12a482324c
commit 76bf04f8de
2 changed files with 1 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ steps:
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 400 ~/.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 - 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: when:
branch: branch:
- monorepo - monorepo

View File

@@ -26,5 +26,3 @@ module.exports = withPlugins(
], ],
nextConfig nextConfig
) )
module.exports = nextConfig