From 82d800d6f8156066daebdba4d37d570cf07311d7 Mon Sep 17 00:00:00 2001 From: Firq Date: Sat, 18 Mar 2023 01:56:51 +0100 Subject: [PATCH] Removed maint --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index efbba46..8c79cfc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,11 +44,9 @@ deploy-site: - echo "Getting artifacts" - ls public - echo "Stopping screen session, enabling maintenance mode, cleaning" - - ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill; rm -r -f public/*; screen -S maintenance -dm npx serve maintenance/ -p 9000 -c serve.json" + - ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill; rm -r -f public/*;" - echo "Copying to proxmox machine" - rsync -az --stats public $DEPLOY_USER@$DEPLOY_HOST:~/. - - echo "Ending maintenance mode" - - ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S maintenance kill;" - echo "Restarting screen session" - ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json" - echo "Website is up on https://firq.dev/"