diff options
Diffstat (limited to '.github/workflows/update-instances.yml')
| -rw-r--r-- | .github/workflows/update-instances.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 608942a..a047b2a 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -264,6 +264,22 @@ jobs: apply_update # ============================================================== + # Rimgo update + # ============================================================== + + curl -s https://rimgo.codeberg.page/api.json | \ + jq '[ + .clearnet[] | + .url] | + sort' > rimgo-tmp.json + + jq --slurpfile rimgo rimgo-tmp.json \ + '(.[] | select(.type == "rimgo") ) + .instances |= $rimgo[0]' services-full.json > services-tmp.json + + apply_update + + # ============================================================== # TODO: Update instances for other services # ============================================================== |
