diff options
Diffstat (limited to '.github/workflows/update-instances.yml')
| -rw-r--r-- | .github/workflows/update-instances.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 2c043ab..829583b 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -217,6 +217,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 # ============================================================== |
