diff --git a/homelab/.gitlab-ci.yml b/homelab/.gitlab-ci.yml index 6b407692..87cd23e1 100644 --- a/homelab/.gitlab-ci.yml +++ b/homelab/.gitlab-ci.yml @@ -15,7 +15,9 @@ before_script: server-deploy: stage: deploy - when: manual + rules: + - when: manual + only: server/ 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/"