Easteregg

This commit is contained in:
2024-12-17 14:54:34 +02:00
parent 0842bdffaf
commit 30e6bb41fe

View File

@@ -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