Remove Wikiless from nightly auto-update build

The wikiless repo has been removed by Codeberg until the maintainer
makes some changes requested by Wikimedia. Follow https://orenom.fi for
updates.
This commit is contained in:
Ben Busby 2022-10-20 12:00:43 -06:00
parent 7f9134c570
commit 9ef2ec9071
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -176,17 +176,19 @@ jobs:
# ============================================================== # ==============================================================
# Wikiless update # Wikiless update
# NOTE: Codeberg has removed the Wikiless repo until the maintainer
# makes changes. See https://orenom.fi for updates.
# ============================================================== # ==============================================================
curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \ #curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
jq '[ #jq '[
.[] | #.[] |
select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] | #select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] |
sort' > wikiless-tmp.json #sort' > wikiless-tmp.json
jq --slurpfile wikiless wikiless-tmp.json \ #jq --slurpfile wikiless wikiless-tmp.json \
'( .[] | select(.type == "wikiless") ) #'( .[] | select(.type == "wikiless") )
.instances |= $wikiless[0]' services-full.json > services-tmp.json #.instances |= $wikiless[0]' services-full.json > services-tmp.json
apply_update #apply_update
# ============================================================== # ==============================================================
# TODO: Update instances for other services # TODO: Update instances for other services