[CI] Ensure teddit urls are not null before filter

Teddit's instance file contains null URL entries, which was breaking the
nightly build. This ensures that the URL exists for an entry before
continuing with processing.
This commit is contained in:
Ben Busby 2023-09-14 18:29:55 -06:00
parent 21c15528a5
commit ad7941c4d2
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ jobs:
curl -s https://codeberg.org/teddit/teddit/raw/branch/main/instances.json | \
jq '[
.[] |
select(.url != null) |
select(.url | contains("https")) |
.url ] |
sort' > teddit-tmp.json