From 54d848cb69fad5fa66e826a56c710bffe2097555 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 10 Feb 2022 18:58:15 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 152a90c..2e66dd9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,9 +16,10 @@ before_script: server-deploy: stage: deploy rules: - - when: manual - changes: + - 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/"