Add CICD
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Nikolai Rodionov 2024-10-19 15:41:52 +02:00
parent 60ccac25d7
commit 92d20db1ec
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
3 changed files with 24 additions and 1 deletions

20
.woodpecker.yaml Normal file
View File

@ -0,0 +1,20 @@
---
when:
event:
- push
steps:
build:
image: alpine
name: Build project
privileged: false
commands:
- envsubst < scripts.sh > project.sh
- chmod +x project.sh
environment:
MESSAGE: hello
run:
image: alpine
name: Run the project
commands:
- ./project.sh

3
project.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo "Hello"

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo Hello world echo "${MESSAGE}"