This commit is contained in:
parent
5f39587cb6
commit
76d4860647
2 changed files with 2 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ steps:
|
|||
commands:
|
||||
- git config --global user.email ci@gitnet.fr
|
||||
- git config --global user.name CI
|
||||
- apk add curl
|
||||
- apk add wget
|
||||
- cp README.tpl.md README.md
|
||||
- ./bin/rss -f https://www.deblan.io/RSS
|
||||
- ./bin/rss -f https://www.deblan.io/RSS >> README.md
|
||||
|
|
|
|||
3
bin/rss
3
bin/rss
|
|
@ -50,8 +50,7 @@ main() {
|
|||
title=
|
||||
link=
|
||||
|
||||
curl -I "$RSS_URL"
|
||||
curl --silent "$RSS_URL" \
|
||||
wget -q -O - "$RSS_URL" \
|
||||
| grep -E "<(title|link)" \
|
||||
| grep -v "<link>" \
|
||||
| grep -v "gemini:" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue