aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.woodpecker.yaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml
index 46bddeb..5bb02b9 100644
--- a/.woodpecker.yaml
+++ b/.woodpecker.yaml
@@ -6,10 +6,11 @@ steps:
- apk update
- apk add zola
- zola build
-
- name: upload
when:
- event: [push, pull_request]
+ event:
+ - push
+ - pull_request
branch:
- main
image: plugins/s3
@@ -24,10 +25,11 @@ steps:
source: public/**/*
target: /
strip_prefix: public/
-
- name: upload
when:
- event: [push, pull_request]
+ event:
+ - push
+ - pull_request
branch:
- preprod
image: plugins/s3