echo-example/.woodpecker.yaml
Nikolai Rodionov 2dc64b1dd2
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add CICD
2024-10-19 15:42:59 +02:00

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