Add event trigger #37

Open
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 update
- apk add zola - apk add zola
- zola build - zola build
- name: upload - name: upload
when: when:
event: [push, pull_request] event:
- push
- pull_request
branch: branch:
- main - main
image: plugins/s3 image: plugins/s3
@ -24,10 +25,11 @@ steps:
source: public/**/* source: public/**/*
target: / target: /
strip_prefix: public/ strip_prefix: public/
- name: upload - name: upload
when: when:
event: [push, pull_request] event:
- push
- pull_request
branch: branch:
- preprod - preprod
image: plugins/s3 image: plugins/s3