fixed maintenance path

This commit is contained in:
Firq 2023-07-27 23:10:36 +02:00
parent d167acce5c
commit 9f194cc052
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -165,7 +165,7 @@ maintenance-mode:
- echo "Stopping screen session"
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill;"
- echo "Enabeling maintenance mode"
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve maintenance/ -p 9000 -c serve.json"
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve firq_dev/maintenance/ -p 9000 -c serve.json"
- echo "Maintenance Website is up on https://firq.dev/"
redeploy-site:
@ -226,5 +226,5 @@ maintenance-deploy:
- echo "Stopping screen session"
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill;" || true
- echo "Enabeling maintenance mode"
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve maintenance/ -p 9000 -c serve.json"
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve firq_dev/maintenance/ -p 9000 -c serve.json"
- echo "Maintenance Website is up on https://firq.dev/"