Merge branch 'unstable' into 'main'

probably fix pipeline

See merge request internship-2025/survey-webapp/survey-webapp!9
This commit is contained in:
Вячеслав 2025-04-23 17:38:38 +00:00
commit 7e2c0fab31

View file

@ -49,7 +49,11 @@ backend-deploy-job:
- ssh-keyscan -H "$DEPLOY_HOST" >> ~/.ssh/known_hosts
script:
- echo "Deploying backend to $DEPLOY_HOST"
- echo "Stopping service"
- ssh $DEPLOY_USER@$DEPLOY_HOST "systemctl --user stop SurveyBackend.service"
- echo "Copying new build"
- scp -r $PUBLISH_DIR/. $DEPLOY_USER@$DEPLOY_HOST:$BACKEND_DEPLOY_PATH
- echo "okeey let's go"
- >
ssh $DEPLOY_USER@$DEPLOY_HOST "
cd $BACKEND_DEPLOY_PATH &&