Deploy live portfolio folder from pipeline
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Keith Casko
2026-06-21 16:53:52 +00:00
parent 76bea35c9c
commit f378f15b46
+9 -8
View File
@@ -3,13 +3,14 @@ when:
event: push event: push
steps: steps:
validate:
image: alpine
commands:
- test -f index.html
- test -f style.css
deploy: deploy:
image: alpine image: alpine/git
volumes:
- /root/lab/bytegeist-portfolio/site:/live-site
- /var/run/docker.sock:/var/run/docker.sock
commands: commands:
- echo "Portfolio deployment successful" - cd /live-site
- git pull origin main
- docker restart bytegeist-portfolio
- git log -1 --oneline
- echo "Deploy complete"