From f378f15b46cb39e43274560aa9ba878c2e9b11c7 Mon Sep 17 00:00:00 2001 From: Keith Casko Date: Sun, 21 Jun 2026 16:53:52 +0000 Subject: [PATCH] Deploy live portfolio folder from pipeline --- .woodpecker.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 34a0d6d..fe61720 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,13 +3,14 @@ when: event: push steps: - validate: - image: alpine - commands: - - test -f index.html - - test -f style.css - deploy: - image: alpine + image: alpine/git + volumes: + - /root/lab/bytegeist-portfolio/site:/live-site + - /var/run/docker.sock:/var/run/docker.sock commands: - - echo "Portfolio deployment successful" \ No newline at end of file + - cd /live-site + - git pull origin main + - docker restart bytegeist-portfolio + - git log -1 --oneline + - echo "Deploy complete"