1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-06-20 08:16:44 +00:00

Add support for Tent

This commit is contained in:
Sunny 2024-04-16 15:33:49 +02:00
parent ea70e144c6
commit f35f9e639a
No known key found for this signature in database
GPG key ID: 6C809239719866E4
3 changed files with 37 additions and 0 deletions

View file

@ -279,6 +279,23 @@ jobs:
apply_update
# ==============================================================
# Tent update
# ==============================================================
curl -s https://forgejo.sny.sh/sun/Tent/raw/branch/main/instances.json | \
jq '[
.[] |
select(.type == "http") |
.url] |
sort' > tent-tmp.json
jq --slurpfile tent tent-tmp.json \
'(.[] | select(.type == "tent") )
.instances |= $tent[0]' services-full.json > services-tmp.json
apply_update
# ==============================================================
# TODO: Update instances for other services
# ==============================================================