Refactor deployment steps in pipeline configuration
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Keith Casko
2026-06-21 10:12:27 -04:00
parent e3d5f9e4c1
commit c65fd78e62
+9 -7
View File
@@ -3,11 +3,13 @@ when:
event: push
steps:
deploy:
image: docker:cli
volumes:
- /var/run/docker.sock:/var/run/docker.sock
validate:
image: alpine
commands:
- echo "Deploying ByteGeist portfolio"
- docker restart bytegeist-portfolio
- echo "Deploy complete"
- test -f index.html
- test -f style.css
deploy:
image: alpine
commands:
- echo "Portfolio deployment successful"