echo-example/.woodpecker.yaml

23 lines
395 B
YAML
Raw Normal View History

2024-10-19 13:41:52 +00:00
---
when:
event:
- push
steps:
build:
image: alpine
name: Build project
privileged: false
commands:
2024-10-19 13:42:59 +00:00
- apk update && apk add envsubst
2024-10-19 13:41:52 +00:00
- envsubst < scripts.sh > project.sh
- chmod +x project.sh
environment:
MESSAGE: hello
run:
image: alpine
name: Run the project
commands:
2024-10-19 13:43:39 +00:00
- apk update && apk add bash
2024-10-19 13:41:52 +00:00
- ./project.sh