mirror of
https://github.com/benbusby/farside.git
synced 2025-04-15 13:03:03 -04: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
20
.github/workflows/update-instances.yml
vendored
20
.github/workflows/update-instances.yml
vendored
@ -176,17 +176,19 @@ jobs:
|
||||
|
||||
# ==============================================================
|
||||
# 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 | \
|
||||
jq '[
|
||||
.[] |
|
||||
select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] |
|
||||
sort' > wikiless-tmp.json
|
||||
jq --slurpfile wikiless wikiless-tmp.json \
|
||||
'( .[] | select(.type == "wikiless") )
|
||||
.instances |= $wikiless[0]' services-full.json > services-tmp.json
|
||||
#curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
|
||||
#jq '[
|
||||
#.[] |
|
||||
#select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] |
|
||||
#sort' > wikiless-tmp.json
|
||||
#jq --slurpfile wikiless wikiless-tmp.json \
|
||||
#'( .[] | select(.type == "wikiless") )
|
||||
#.instances |= $wikiless[0]' services-full.json > services-tmp.json
|
||||
|
||||
apply_update
|
||||
#apply_update
|
||||
|
||||
# ==============================================================
|
||||
# TODO: Update instances for other services
|
||||
|
Loading…
x
Reference in New Issue
Block a user