mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 02:16:36 +00:00
Add librey support
This commit is contained in:
parent
6385dca3f6
commit
4e1e6e86b5
3 changed files with 66 additions and 0 deletions
16
.github/workflows/update-instances.yml
vendored
16
.github/workflows/update-instances.yml
vendored
|
@ -245,6 +245,22 @@ jobs:
|
|||
|
||||
apply_update
|
||||
|
||||
# ==============================================================
|
||||
# librey update
|
||||
# ==============================================================
|
||||
curl -s https://raw.githubusercontent.com/Ahwxorg/LibreY/main/instances.json | \
|
||||
jq '[
|
||||
.instances |
|
||||
.[] |
|
||||
select(.librey == true) |
|
||||
.clearnet] |
|
||||
sort' > librey-tmp.json
|
||||
jq --slurpfile librey librey-tmp.json \
|
||||
'( .[] | select(.type == "librey") )
|
||||
.instances |= $librey[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