WTF is this.
This commit is contained in:
@@ -12,8 +12,9 @@ jobs:
|
|||||||
- name: Send Notification
|
- name: Send Notification
|
||||||
run: |
|
run: |
|
||||||
BASE_URL="https://git.konsthol.eu"
|
BASE_URL="https://git.konsthol.eu"
|
||||||
|
NTFY_URL="https://ntfy.konsthol.eu/Releases"
|
||||||
REPO_OWNER="konsthol"
|
REPO_OWNER="konsthol"
|
||||||
REPO_NAME="WOL-Ly"
|
REPO_NAME="WOL-Ly"
|
||||||
TAG_NAME="$(curl -s https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/latest | jq -r '.tag_name')"
|
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"
|
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 😎" https://konsthol.eu/Releases
|
curl -s -H 'Cache: no' -d "A new release has been published! Check it out: $GITEA_RELEASE_URL 😎" $NTFY_URL
|
||||||
|
|||||||
Reference in New Issue
Block a user