echo-example/.woodpecker.yaml

22 lines
360 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:
- ./project.sh