mirror of
https://github.com/benbusby/farside.git
synced 2025-04-25 13:10:02 +00:00
Add auto update for rimgo (#152)
This commit is contained in:
parent
42386394f9
commit
40855bb77e
2 changed files with 37 additions and 16 deletions
16
.github/workflows/update-instances.yml
vendored
16
.github/workflows/update-instances.yml
vendored
|
@ -263,6 +263,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
|
||||
# ==============================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue