summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2021-11-28 18:17:44 -0700
committerGitHub <noreply@github.com>2021-11-28 18:17:44 -0700
commit17f83649c1ede9520d426561f662a3744cdebc0c (patch)
treecd388953d1372b6bcc0310953392c219daab3f92 /.github
parentd172c5d467899ca0b5eb88fbeee85c1cb6fb56ee (diff)
downloadfarside-17f83649c1ede9520d426561f662a3744cdebc0c.tar.gz
Print instances found in workflow to log
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-instances.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml
index 07d3a9c..8ee9b10 100644
--- a/.github/workflows/update-instances.yml
+++ b/.github/workflows/update-instances.yml
@@ -31,6 +31,7 @@ jobs:
# ==============================================================
# Searx update
# ==============================================================
+ echo "Fetching searx instances..."
curl -s https://searx.space/data/instances.json | \
jq '[
.instances |
@@ -45,6 +46,8 @@ jobs:
select(.value.html.grade == "V" or .value.html.grade == "F") |
.key
] | sort' > searx-tmp.json
+
+ cat searx-tmp.json | jq .
jq --slurpfile searx searx-tmp.json \
'( .[] | select(.type == "searx") )