Add event trigger #37
1 changed files with 15 additions and 0 deletions
15
.woodpecker/.woodpecker.yml
Normal file
15
.woodpecker/.woodpecker.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
when:
|
||||||
|
- 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