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