From 36e71216aafcd54b5d34a4829ebc112c0d17b64f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Sun, 13 Feb 2022 18:07:29 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2482bde..1ddb001 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,11 +15,10 @@ before_script: server-deploy: stage: deploy - when: manual rules: - changes: - server/ - + when: manual script: - ssh joey@joey-server "cd /home/joey && git archive --remote=ssh://git@gitlab.jafner.net:2229/Jafner/homelab.git main server/ | tar xvf -" - ssh joey@joey-server "cp -r server/config/* ./docker_config/"