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