summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/update-instances.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml
index c806292..5f5a98a 100644
--- a/.github/workflows/update-instances.yml
+++ b/.github/workflows/update-instances.yml
@@ -246,6 +246,22 @@ jobs:
apply_update
# ==============================================================
+ # librex update
+ # ==============================================================
+ curl -s https://raw.githubusercontent.com/Ahwxorg/LibreY/main/instances.json | \
+ jq '[
+ .instances |
+ .[] |
+ select(.librey|not) |
+ .clearnet] |
+ sort' > librex-tmp.json
+ jq --slurpfile librex librex-tmp.json \
+ '( .[] | select(.type == "librex") )
+ .instances |= $librex[0]' services-full.json > services-tmp.json
+
+ apply_update
+
+ # ==============================================================
# TODO: Update instances for other services
# ==============================================================