mirror of
https://github.com/benbusby/farside.git
synced 2025-06-07 18:06:38 +00:00
Use single quote in yq command
This commit is contained in:
parent
3aeb0007f5
commit
4b27a13eeb
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-instances.yml
vendored
2
.github/workflows/update-instances.yml
vendored
|
@ -61,7 +61,7 @@ jobs:
|
||||||
# searx update
|
# searx update
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
curl -s https://raw.githubusercontent.com/searx/searx-instances/master/searxinstances/instances.yml | \
|
curl -s https://raw.githubusercontent.com/searx/searx-instances/master/searxinstances/instances.yml | \
|
||||||
yq -o=json "keys | sort" > searx-tmp.json
|
yq -o=json 'keys | sort' > searx-tmp.json
|
||||||
jq --slurpfile searx searx-tmp.json \
|
jq --slurpfile searx searx-tmp.json \
|
||||||
'( .[] | select(.type == "searx") )
|
'( .[] | select(.type == "searx") )
|
||||||
.instances |= $searx[0]' services-full.json > services-tmp.json
|
.instances |= $searx[0]' services-full.json > services-tmp.json
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue