From 2e70c266ae6b7a8ac7d6207fdd0e65cf9d9dad62 Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 21 Mar 2023 14:18:43 +0100 Subject: [PATCH] trying T flag --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f77a60e..828da1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -61,11 +61,11 @@ deploy-site: - echo "Getting artifacts" - ls public - echo "Stopping screen session, cleaning" - - ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill; rm -r -f public/*;" + - ssh -T $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 "Restarting screen session" - - ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json" + - ssh -T $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/" success_notification: