summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2022-07-28 09:19:25 -0600
committerBen Busby <contact@benbusby.com>2022-07-28 09:19:25 -0600
commite611375e7512fd064e33885f79b70135d2762ea3 (patch)
tree90519845927d055b6c119981fe0c7b1af895f5b4 /.github
parent8fbe016cdba8ac2fea8523021ae57f4b8167fa35 (diff)
downloadfarside-e611375e7512fd064e33885f79b70135d2762ea3.tar.gz
Force remove cf filter output in auto update workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-instances.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml
index 315465a..3eec4a9 100644
--- a/.github/workflows/update-instances.yml
+++ b/.github/workflows/update-instances.yml
@@ -28,7 +28,7 @@ jobs:
}
function remove_cf_instances() {
- rm out.json
+ rm -f out.json
file="services-full.json"
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
cat out.json | jq --indent 2 . > services.json
- rm out.json
+ rm -f out.json
}
# ==============================================================