diff options
| author | Ben Busby <contact@benbusby.com> | 2023-05-19 10:57:43 -0600 |
|---|---|---|
| committer | Ben Busby <contact@benbusby.com> | 2023-05-19 10:57:43 -0600 |
| commit | 0ce0832a2855d1bad52898a585e5f416b9dfd9c4 (patch) | |
| tree | d94296ba88c7a463f74229c8869dab74dc2d83ec /.github | |
| parent | dd51523fafba4fd0d63da95d997b1eb64f0ee2f0 (diff) | |
| download | farside-0ce0832a2855d1bad52898a585e5f416b9dfd9c4.tar.gz | |
Add support for BreezeWiki
Includes nightly build support for automatically pulling the most up to
date instance list.
Closes #104
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/update-instances.yml | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -206,6 +206,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 # ============================================================== |
