mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
🔊 kubernetes-notifier github link
This commit is contained in:
@@ -47,7 +47,8 @@ def send_pushover_notification(repo_name, tag_name):
|
|||||||
payload = {
|
payload = {
|
||||||
"token": PUSHOVER_API_TOKEN,
|
"token": PUSHOVER_API_TOKEN,
|
||||||
"user": PUSHOVER_USER_KEY,
|
"user": PUSHOVER_USER_KEY,
|
||||||
"message": f"New stable release {tag_name} for repository {repo_name} is available."
|
"html": "1",
|
||||||
|
"message": f'New stable release {tag_name} for repository <a href="https://github.com/{repo_name}">{repo_name}</a> is available.'
|
||||||
}
|
}
|
||||||
response = requests.post(PUSHOVER_API_URL, data=payload)
|
response = requests.post(PUSHOVER_API_URL, data=payload)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
|
Reference in New Issue
Block a user