1
0
Fork 0
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:
Ben Busby 2023-05-19 10:57:43 -06:00
parent dd51523faf
commit 0ce0832a28
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
4 changed files with 56 additions and 4 deletions

View file

@ -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
# ==============================================================