Added Build Notfication
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
2023-07-11 23:29:53 +02:00
parent 3dccde052d
commit 01a8925971

View File

@@ -87,30 +87,17 @@ steps:
- name: "curse"
path: "/out/curse"
# - name: Send notification
# image: appleboy/drone-telegram
# environment:
# DRONE_TELEGRAM_TOKEN:
# from_secret: DRONE_TELEGRAM_TOKEN
# settings:
# token: 1942328463:AAHgHqwVFEluElKynjVfJpPPY9Hhs52LHKk
# to: -372192466
# message: >
# 🤖 Build from {{datetime build.started "02-Jan-2006 15:04:05 CET" "Europe/Berlin" }} has finished
- name: "Send notification"
image: "appleboy/drone-telegram"
settings:
token:
from_secret: "drone_telegram_token"
to: -372192466
format: "markdown"
template_vars:
repo_link: "${DRONE_REPO_LINK}"
message: >
Modpack __{{repo.name}}__ just got updated to version __{{ build.tag }}__!
# Repository: {{repo.name}} \[{{commit.branch}}] ({{since build.started}})
# {{#success build.status}}
# ✅ build {{build.number}} succeeded. Good job.
# {{else}}
# ❌ build {{build.number}} failed. Fix me please.
# Repository url: {{commit.link}}
# Build results: {{build.link}}
# {{/success}}
# when:
# status:
# - success
# - failure
Go to {{ tpl.repo_link }} to get instructions on how to update or
[download the newest Modpack zip directly]({{ tpl.repo_link }}/releases/tag/{{ build.tag }}).