site/.woodpecker/my-first-workflow.yaml

15 lines
283 B
YAML
Raw Normal View History

2024-12-10 21:23:01 +00:00
when:
- event: push
branch: main
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