Add event trigger #37

Closed
aeddis wants to merge 12 commits from ci/fix_woodpecker into main
Showing only changes of commit 8227ad6f8b - Show all commits

View file

@ -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