Add event trigger #37
1 changed files with 7 additions and 6 deletions
|
@ -1,14 +1,15 @@
|
||||||
---
|
---
|
||||||
when:
|
when:
|
||||||
event:
|
- event: push
|
||||||
- push
|
branch: ci/fix_woodpecker
|
||||||
- pull_request
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
- ci/fix_woodpecker
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: debian
|
image: debian
|
||||||
commands:
|
commands:
|
||||||
- echo "This is the build step"
|
- echo "This is the build step"
|
||||||
- echo "binary-data-123" > executable
|
- echo "binary-data-123" > executable
|
||||||
|
- name: a-test-step
|
||||||
|
image: golang:1.16
|
||||||
|
commands:
|
||||||
|
- echo "Testing ..."
|
||||||
|
- ./executable
|
||||||
|
|
Loading…
Reference in a new issue