diff options
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 # ============================================================== |
