Update .gitlab-ci.yml file

This commit is contained in:
Joey Hafner 2022-02-10 17:46:41 +00:00
parent bc9bf4d60c
commit 26bcc50efd

View File

@ -18,4 +18,5 @@ server-deploy:
when: manual when: manual
script: 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 "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/"