1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-20 10:58:42 +00:00

Force remove cf filter output in auto update workflow

This commit is contained in:
Ben Busby 2022-07-28 09:19:25 -06:00
parent 8fbe016cdb
commit e611375e75
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -28,7 +28,7 @@ jobs:
} }
function remove_cf_instances() { function remove_cf_instances() {
rm out.json rm -f out.json
file="services-full.json" file="services-full.json"
while read -r line; do while read -r line; do
@ -49,7 +49,7 @@ jobs:
sed -i '' -e ':begin' -e '$!N' -e 's/,\n]/\n]/g' -e 'tbegin' -e 'P' -e 'D' out.json sed -i '' -e ':begin' -e '$!N' -e 's/,\n]/\n]/g' -e 'tbegin' -e 'P' -e 'D' out.json
cat out.json | jq --indent 2 . > services.json cat out.json | jq --indent 2 . > services.json
rm out.json rm -f out.json
} }
# ============================================================== # ==============================================================