Easteregg
This commit is contained in:
@@ -9,6 +9,14 @@ jobs:
|
|||||||
name: Send Notification
|
name: Send Notification
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install jq
|
||||||
|
run: sudo apt update && sudo apt install -y jq
|
||||||
|
|
||||||
- name: Send Notification
|
- name: Send Notification
|
||||||
run: |
|
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
|
curl -s -H 'Cache: no' -d "A new release has been published! Check it out: $GITEA_RELEASE_URL 😎" konsthol.eu:5656/Releases
|
||||||
|
|||||||
Reference in New Issue
Block a user