diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7dc56f3..6b40769 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,4 +18,5 @@ server-deploy: 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/" + - ssh joey@joey-server "cp -r server/config/* ./docker_config/" + - ssh joey@joey-server "rm -rf server/"