From 0ce0832a2855d1bad52898a585e5f416b9dfd9c4 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Fri, 19 May 2023 10:57:43 -0600 Subject: Add support for BreezeWiki Includes nightly build support for automatically pulling the most up to date instance list. Closes #104 --- .github/workflows/update-instances.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.github/workflows/update-instances.yml') diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 0cb2ade..b152420 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -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 # ============================================================== -- cgit v1.2.3