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" - name: "curse"
path: "/out/curse" path: "/out/curse"
# - name: Send notification - name: "Send notification"
# image: appleboy/drone-telegram image: "appleboy/drone-telegram"
# environment: settings:
# DRONE_TELEGRAM_TOKEN: token:
# from_secret: DRONE_TELEGRAM_TOKEN from_secret: "drone_telegram_token"
# settings: to: -372192466
# token: 1942328463:AAHgHqwVFEluElKynjVfJpPPY9Hhs52LHKk format: "markdown"
# to: -372192466 template_vars:
# message: > repo_link: "${DRONE_REPO_LINK}"
# 🤖 Build from {{datetime build.started "02-Jan-2006 15:04:05 CET" "Europe/Berlin" }} has finished message: >
Modpack __{{repo.name}}__ just got updated to version __{{ build.tag }}__!
# Repository: {{repo.name}} \[{{commit.branch}}] ({{since build.started}}) 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 }}).
# {{#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