probably fix pipeline
This commit is contained in:
parent
eebcce808f
commit
cd8df6bf54
1 changed files with 4 additions and 0 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue