From 55543a14ec25e65b37265a23ad7eb3ca975e7e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Sun, 17 Mar 2024 11:27:09 +0100 Subject: [PATCH] woodpecker CI file --- .woodpecker.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .woodpecker.yaml diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..37accd5 --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,24 @@ +steps: + - name: build + image: alpine:3.17.2 + commands: + - apk update + - apk add zola + - zola build + + - name: upload + when: + branch: + - main + image: plugins/s3 + settings: + bucket: guide.deuxfleurs.fr + endpoint: https://garage.deuxfleurs.fr + region: garage + access_key: + from_secret: aws_access_key_id + secret_key: + from_secret: aws_secret_access_key + source: public/**/* + target: / + strip_prefix: public/