From 711e5a4f142f20cb83ea5a97f1daec7b05ddb94d Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 10 Feb 2022 18:54:15 +0000 Subject: [PATCH] Refactor rules --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b40769..87cd23e 100644 --- a/.gitlab-ci.yml +++ b/.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/"