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

Add GotHub support

This commit is contained in:
NoPlagiarism 2023-07-15 17:06:40 +05:00
parent 2b32622d52
commit 6427c8b325
3 changed files with 28 additions and 0 deletions

View file

@ -216,6 +216,18 @@ jobs:
apply_update
# ==============================================================
# GotHub update
# ==============================================================
curl -s https://codeberg.org/gothub/gothub-instances/raw/branch/master/instances.json | \
jq '[.[] | .link]' > gothub-tmp.json
jq --slurpfile gothub-tmp.json \
'(.[] | select(.type == "gothub") )
.instances |= $gothub[0]' services-full.json > services-tmp.json
apply_update
# ==============================================================
# TODO: Update instances for other services
# ==============================================================