diff options
| author | sian1468 <58017832+sian1468@users.noreply.github.com> | 2024-02-05 23:38:42 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 09:38:42 -0700 |
| commit | 40855bb77efd2f86925c9ac89e2a705439df3b46 (patch) | |
| tree | 361cd23484e9bd93a569cf4b34158b605d81fd11 /.github | |
| parent | 42386394f966abedf40e4d70c966f7b1e72dfd45 (diff) | |
| download | farside-40855bb77efd2f86925c9ac89e2a705439df3b46.tar.gz | |
Add auto update for rimgo (#152)
Diffstat (limited to '.github')
| -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 # ============================================================== |
