Files
test_actions/.gitea/workflows/check-release.yaml
Eric Coissac c7cf3c6747
All checks were successful
Check Calibre-web version / check-version (push) Successful in 14s
Actualiser .gitea/workflows/check-release.yaml
2025-04-05 20:57:42 +02:00

23 lines
695 B
YAML

name: Check Calibre-web version
on:
push:
branches:
- main # Changez cela si votre branche principale a un autre nom
jobs:
check-version:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Retrieve Calibre-web version
run: |
curl -s https://api.github.com/repos/janeczku/calibre-web/releases/latest \
| jq -r .tag_name > calibre_web_latest.txt
shell: bash
- name: Send version to 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'