.forgejo/workflows/ci.yaml: WIP
/ deploy_script (push) Successful in 2s Details

This commit is contained in:
Adrien Bourmault 2024-08-20 17:42:37 +02:00
parent 634f0ce693
commit 5e311b0abf
Signed by: neox
GPG Key ID: 57BC26A3687116F6
1 changed files with 1 additions and 1 deletions

View File

@ -15,12 +15,12 @@ jobs:
git clone ${{ gitea.server_url }}/${{ gitea.repository }} dns
cd dns
git diff HEAD^ HEAD > zone_diff.txt
echo $(cat zone_diff.txt)
while IFS= read -r line; do
case "$line" in
"--- "*".zone")
NAME=$(echo "$line" .zone | sed 's/--- //' | sed 's|a/||')
CURRENT_ZONE=$(basename $NAME)
echo "*** Updating $CURRENT_ZONE"
;;
"--- "*)
CURRENT_ZONE=