echo-example/.woodpecker.yaml
Nikolai Rodionov 39b03467ae
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add CICD
2024-10-19 15:43:39 +02:00

23 lines
395 B
YAML

---
when:
event:
- push
steps:
build:
image: alpine
name: Build project
privileged: false
commands:
- apk update && apk add envsubst
- envsubst < scripts.sh > project.sh
- chmod +x project.sh
environment:
MESSAGE: hello
run:
image: alpine
name: Run the project
commands:
- apk update && apk add bash
- ./project.sh