Browse Source

Update .gitlab-ci.yml

f/2-backend-asp-net-core-initialisieren
Levin Faber 7 years ago
parent
commit
4ccc812f35
  1. 2
      .gitlab-ci.yml

2
.gitlab-ci.yml

@ -20,4 +20,4 @@ build_frontend:
- ls -la /workdir/build
- ssh $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET "mkdir -p /home/$DEPLOY_ENV_USER/serve"
- ssh $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET "rm -rf /home/$DEPLOY_ENV_USER/serve/*"
- rsync --progress -av -e ssh /workdir/build $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET:/home/$DEPLOY_ENV_USER/serve
- rsync --progress -av -e ssh /workdir/build/* $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET:/home/$DEPLOY_ENV_USER/serve/$CI_COMMIT_REF_NAME/

Loading…
Cancel
Save