0
0

.gitea/workflows/release.yml aktualisiert
Some checks failed
release / release (push) Failing after 3s

This commit is contained in:
Denys Konovalov 2023-12-22 18:12:33 +01:00
parent c2a48edc7b
commit 9d3876ab4b

@ -30,4 +30,11 @@ jobs:
if: steps.check.outputs.update_available == 1
run: |
export NEWEST_PAGEFIND_RELEASE=$(curl -s https://api.github.com/repos/CloudCannon/pagefind/releases | jq -r '.[0].name')
curl -sL https://git.cantorgymnasium.de/api/packages/gcg/generic/hugo/$NEWEST_PAGEFIND_RELEASE/pagefind_extended --output /usr/local/bin/pagefind_extended
curl -sL https://git.cantorgymnasium.de/api/packages/gcg/generic/hugo/$NEWEST_PAGEFIND_RELEASE/pagefind_extended --output /usr/local/bin/pagefind_extended
- name: notification
uses: actions/telegram-action@main
if: always()
with:
chat_id: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_TOKEN }}