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:
parent
8fbe016cdb
commit
e611375e75
1 changed files with 2 additions and 2 deletions
4
.github/workflows/update-instances.yml
vendored
4
.github/workflows/update-instances.yml
vendored
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue