From 30e6bb41fe2f2389c1c0d53c94b901619af97cf8 Mon Sep 17 00:00:00 2001 From: konsthol Date: Tue, 17 Dec 2024 14:54:34 +0200 Subject: [PATCH] Easteregg --- .gitea/workflows/notify.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/notify.yaml b/.gitea/workflows/notify.yaml index d9cb0f0..44f7dca 100644 --- a/.gitea/workflows/notify.yaml +++ b/.gitea/workflows/notify.yaml @@ -9,6 +9,14 @@ jobs: name: Send Notification runs-on: ubuntu-latest steps: + - name: Install jq + run: sudo apt update && sudo apt install -y jq + - name: Send Notification run: | + BASE_URL="https://git.konsthol.eu" + REPO_OWNER="konsthol" + REPO_NAME="WOL-Ly" + TAG_NAME="$(curl -s https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/latest | jq -r '.tag_name')" + GITEA_RELEASE_URL="$BASE_URL/$REPO_OWNER/$REPO_NAME/releases/tag/$TAG_NAME" curl -s -H 'Cache: no' -d "A new release has been published! Check it out: $GITEA_RELEASE_URL 😎" konsthol.eu:5656/Releases