This commit is contained in:
+6
-1
@@ -8,8 +8,13 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- /root/lab/bytegeist-portfolio/site:/live-site
|
- /root/lab/bytegeist-portfolio/site:/live-site
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /root/.ssh:/root/.ssh
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache git
|
- apk add --no-cache git openssh-client
|
||||||
|
- mkdir -p /root/.ssh
|
||||||
|
- ssh-keyscan -p 2222 git.casko.dev >> /root/.ssh/known_hosts
|
||||||
|
- chmod 700 /root/.ssh
|
||||||
|
- chmod 600 /root/.ssh/id_ed25519
|
||||||
- cd /live-site
|
- cd /live-site
|
||||||
- git pull origin main
|
- git pull origin main
|
||||||
- docker restart bytegeist-portfolio
|
- docker restart bytegeist-portfolio
|
||||||
|
|||||||
Reference in New Issue
Block a user