From 0b146033669b07c01cc5112388cfb96ec492fcfa Mon Sep 17 00:00:00 2001 From: Levin Faber Date: Thu, 9 May 2019 17:48:28 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b7cf6d..23d08f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,6 +40,7 @@ build_docker_host: - docker build -f Docker/Dockerfile_FE_Host -t registry.gitlab.com/fia72-dev/eva_lernsituation/frontend-serve . - docker push registry.gitlab.com/fia72-dev/eva_lernsituation/frontend-serve - ls -la Docker/config/restart-host.sh + - ssh $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET "" # Add host key - rsync --progress -av -e ssh Docker/config/restart-host.sh $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET:/home/$DEPLOY_ENV_USER/restart-host.sh - ssh $DEPLOY_ENV_USER@$DEPLOY_ENV_TARGET "./restart-host.sh" when: manual