Automate deploy to server
This commit is contained in:
parent
0fc845bfc5
commit
df5d4d9240
@ -15,4 +15,5 @@ server-deploy:
|
||||
only:
|
||||
- "server/"
|
||||
script:
|
||||
- ssh joey@joey-server "cd /home/joey/docker_config && git pull origin master && exit"
|
||||
- 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