Some checks are pending
Check Calibre-web version / check-version (push) Has started running
24 lines
753 B
YAML
24 lines
753 B
YAML
name: Check Calibre-web version
|
|
on:
|
|
schedule:
|
|
- cron: "* * * * *"
|
|
|
|
jobs:
|
|
check-version:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Install curl
|
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
|
with:
|
|
packages: curl awk
|
|
- name: retrieve Calibre-web version
|
|
run: curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \
|
|
| awk '/tag_name/{print $4;exit}' FS='[""]' > calibre_web_latest.txt
|
|
- name: Log On Haoma
|
|
run: curl -fsS -m 10 --retry 5 --data-binary @calibre_web_latest.txt \
|
|
'https://haoma.petite-maison-orange.fr/ping/933b9d63-37e1-42a7-9681-241af9c582f1'
|
|
|