From ba0ed4a900b8eaf99d5e7d9e98bf5a4251d56d53 Mon Sep 17 00:00:00 2001 From: Levin Faber Date: Thu, 9 May 2019 17:03:58 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4417b2..fc5519c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ stages: build_frontend: stage: build + tags: docker image: registry.gitlab.com/fia72-dev/eva_lernsituation/frontend-build before_script: - eval $(ssh-agent -s) @@ -22,3 +23,7 @@ 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/$CI_COMMIT_REF_NAME/ + +build_docker_host: + stage: build +