.forgejo/workflows/ci.yaml: WIP
/ deploy_script (push) Successful in 2s
Details
/ deploy_script (push) Successful in 2s
Details
This commit is contained in:
parent
634f0ce693
commit
5e311b0abf
|
@ -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=
|
||||
|
|
Loading…
Reference in New Issue