mirror of
https://github.com/benbusby/farside.git
synced 2025-04-20 02:48:42 +00:00
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:
parent
7f9134c570
commit
9ef2ec9071
1 changed files with 11 additions and 9 deletions
20
.github/workflows/update-instances.yml
vendored
20
.github/workflows/update-instances.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue