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:
parent
7693a6b063
commit
2b6795ae3c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-instances.yml
vendored
2
.github/workflows/update-instances.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue