Use Docker CLI for deployment
This commit is contained in:
+5
-3
@@ -4,8 +4,10 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
deploy:
|
deploy:
|
||||||
image: alpine/git
|
image: docker:cli
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- cd /woodpecker/src
|
- echo "Deploying ByteGeist portfolio"
|
||||||
- echo "Pipeline pulled latest portfolio files"
|
|
||||||
- docker restart bytegeist-portfolio
|
- docker restart bytegeist-portfolio
|
||||||
|
- echo "Deploy complete"
|
||||||
|
|||||||
Reference in New Issue
Block a user