This commit is contained in:
+2
-1
@@ -4,11 +4,12 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
deploy:
|
deploy:
|
||||||
image: alpine/git
|
image: docker:cli
|
||||||
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
|
||||||
commands:
|
commands:
|
||||||
|
- apk add --no-cache git
|
||||||
- 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