Browse Source

Merge branch 'f/gitlab-ci-pipelines-einrichten' into 'develop'

Update .gitlab-ci.yml

See merge request fia72-dev/eva_lernsituation!9
f/raum-übersicht
Levin Faber 7 years ago
parent
commit
17d441ddb1
  1. 3
      .gitlab-ci.yml

3
.gitlab-ci.yml

@ -24,6 +24,9 @@ build_frontend:
- ssh $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET "rm -rf /home/$DEPLOY_ENV_USER/serve/*"
- ssh $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET "mkdir -p /home/$DEPLOY_ENV_USER/serve/$CI_COMMIT_REF_NAME"
- rsync --progress -av -e ssh /workdir/build/* $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET:/home/$DEPLOY_ENV_USER/serve/
environment:
name: deploy
url: https://$DEPLOY_ENV_TARGET
build_docker_host:
stage: build

Loading…
Cancel
Save