From 9f194cc05213f0ddfae253b7fa00fa43fb962b86 Mon Sep 17 00:00:00 2001 From: Firq Date: Thu, 27 Jul 2023 23:10:36 +0200 Subject: [PATCH] fixed maintenance path --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0bde5ee..e49de23 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/"