Add event trigger #37
2 changed files with 10 additions and 12 deletions
|
@ -1,9 +1,9 @@
|
||||||
|
---
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: alpine:3.17.2
|
image: alpine:3.17.2
|
||||||
|
@ -11,7 +11,6 @@ steps:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add zola
|
- apk add zola
|
||||||
- zola build
|
- zola build
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
settings:
|
settings:
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
---
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
branch: main
|
branch: preprod
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: alpine:3.17.2
|
image: alpine:3.17.2
|
||||||
|
@ -11,7 +11,6 @@ steps:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add zola
|
- apk add zola
|
||||||
- zola build
|
- zola build
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue