Merge pull request 'added woodpecker integration' (#6) from woodpecker into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/6
This commit is contained in:
Chris Boesch 2023-10-04 12:54:59 +00:00
commit 4b1ba69270
3 changed files with 13 additions and 1 deletions

12
.woodpecker/eowyn.yml Normal file
View file

@ -0,0 +1,12 @@
steps:
eowyn:
image: buddyspencer/ziglang
# image: debian
commands:
- sh ./patches/eowyn.sh
when:
events:
- push
- pull-requests
- cron
cron: "Daily"

View file

@ -39,7 +39,7 @@ do
# Apply the bandages to the wounds, grow new limbs, let # Apply the bandages to the wounds, grow new limbs, let
# new life spring into the broken bodies of the fallen. # new life spring into the broken bodies of the fallen.
echo Healing "$true_name"... echo Healing "$true_name"...
patch --output="patches/healed/$true_name.zig" "$broken" "$patch_name" ./test/patch --output="patches/healed/$true_name.zig" "$broken" "$patch_name"
else else
echo Cannot heal "$true_name". No patch found. echo Cannot heal "$true_name". No patch found.
fi fi

BIN
test/patch Executable file

Binary file not shown.