Add event trigger #37
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue