aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-03-17 15:35:48 +0100
committerArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-03-17 15:35:48 +0100
commit0f9c2871daebaf2d3a93d995ffd54c7992fa70d9 (patch)
tree691e8be6296d7031af8cf88e7414726e3f76b04e
parentb82a8b7f7bf0de8b1569500b216dc2273323d4de (diff)
downloadguide.deuxfleurs.fr-0f9c2871daebaf2d3a93d995ffd54c7992fa70d9.tar.gz
guide.deuxfleurs.fr-0f9c2871daebaf2d3a93d995ffd54c7992fa70d9.zip
add preprod CI
-rw-r--r--.woodpecker.yaml17
1 files changed, 17 insertions, 0 deletions
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/