Add missing jq var name in nightly build

GotHub auto update missing the "gothub" variable name before applying
the results
This commit is contained in:
Ben Busby 2023-07-18 21:39:08 -06:00
parent 7693a6b063
commit 2b6795ae3c
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -222,7 +222,7 @@ jobs:
curl -s https://codeberg.org/gothub/gothub-instances/raw/branch/master/instances.json | \
jq '[.[] | .link]' > gothub-tmp.json
jq --slurpfile gothub-tmp.json \
jq --slurpfile gothub gothub-tmp.json \
'(.[] | select(.type == "gothub") )
.instances |= $gothub[0]' services-full.json > services-tmp.json