From 8f964e7631e3bcf585024b01602c0bb8379b9e80 Mon Sep 17 00:00:00 2001 From: Oscar Blue Date: Fri, 27 Oct 2023 15:57:35 +0100 Subject: [PATCH] Added CI pipeline --- .woodpecker/.deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .woodpecker/.deploy.yml diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml new file mode 100644 index 0000000..c13b8f4 --- /dev/null +++ b/.woodpecker/.deploy.yml @@ -0,0 +1,14 @@ +branches: main + +labels: + hostname: "oscarblue" + +pipeline: + deploy: + image: alpine:3.16.0 + commands: + - apk add hugo rsync + - hugo + - rsync -rltvz --delete --omit-dir-times ./public/ /git-links/ + volumes: + - /var/www/git-links:/git-links