From 9d3876ab4bda3ec733c8983db4e88bc3160f5c10 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 22 Dec 2023 18:12:33 +0100 Subject: [PATCH] .gitea/workflows/release.yml aktualisiert --- .gitea/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 941761f..c23b93e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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 \ No newline at end of file + 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 }} \ No newline at end of file