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 5f5a98a..3590c1c 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -262,6 +262,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 # ============================================================== |
