From cad0349c8db64a0a07f531b516400a832aa8edc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Wed, 2 Oct 2024 20:48:35 +0200 Subject: . --- .woodpecker.yaml | 42 ------------------------------------------ .woodpecker.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 .woodpecker.yaml create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yaml b/.woodpecker.yaml deleted file mode 100644 index 67463b6..0000000 --- a/.woodpecker.yaml +++ /dev/null @@ -1,42 +0,0 @@ -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/ - - - name: upload - when: - branch: - - preprod - image: plugins/s3 - settings: - bucket: preprod-guide - 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/ - path_style: true diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..67463b6 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,42 @@ +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/ + + - name: upload + when: + branch: + - preprod + image: plugins/s3 + settings: + bucket: preprod-guide + 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/ + path_style: true -- cgit v1.2.3