From 0f9c2871daebaf2d3a93d995ffd54c7992fa70d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Sun, 17 Mar 2024 15:35:48 +0100 Subject: [PATCH] add preprod CI --- .woodpecker.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 37accd5..f593f62 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -22,3 +22,20 @@ steps: 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/