aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/