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
|
- 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
|
||||||
|
|||||||
@@ -26,5 +26,3 @@ module.exports = withPlugins(
|
|||||||
],
|
],
|
||||||
nextConfig
|
nextConfig
|
||||||
)
|
)
|
||||||
|
|
||||||
module.exports = nextConfig
|
|
||||||
|
|||||||
Reference in New Issue
Block a user