mirror of
https://github.com/benbusby/farside.git
synced 2025-04-25 13:10:02 +00:00
Add support for BreezeWiki
Includes nightly build support for automatically pulling the most up to date instance list. Closes #104
This commit is contained in:
parent
dd51523faf
commit
0ce0832a28
4 changed files with 56 additions and 4 deletions
11
.github/workflows/update-instances.yml
vendored
11
.github/workflows/update-instances.yml
vendored
|
@ -205,6 +205,17 @@ jobs:
|
|||
|
||||
apply_update
|
||||
|
||||
# ==============================================================
|
||||
# BreezeWiki update
|
||||
# ==============================================================
|
||||
curl -s https://docs.breezewiki.com/files/instances.json | \
|
||||
jq '[.[] | .instance]' > bw-tmp.json
|
||||
jq --slurpfile breezewiki breezewiki-tmp.json \
|
||||
'(.[] | select(.type == "breezewiki") )
|
||||
.instances |= $breezewiki[0]' services-full.json > services-tmp.json
|
||||
|
||||
apply_update
|
||||
|
||||
# ==============================================================
|
||||
# TODO: Update instances for other services
|
||||
# ==============================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue