From 52c2e76617d52b2c2192fccebaeb258245a815b2 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 --- homelab/.gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homelab/.gitlab-ci.yml b/homelab/.gitlab-ci.yml index 2482bde4..1ddb0018 100644 --- a/homelab/.gitlab-ci.yml +++ b/homelab/.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/"