Refactor rules
This commit is contained in:
parent
711e5a4f14
commit
c55b2973be
@ -17,7 +17,8 @@ server-deploy:
|
||||
stage: deploy
|
||||
rules:
|
||||
- when: manual
|
||||
only: server/
|
||||
changes:
|
||||
- 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/"
|
||||
|
Loading…
Reference in New Issue
Block a user