diff --git a/.drone.yml b/.drone.yml index 541fb4b..04eccc9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -100,18 +100,14 @@ steps: password: from_secret: password_matrix markdown: 'yes' - # KORREKTUR: Jinja2 Syntax für das Template template: | ### Authelia Update Bericht - **Status:** {{ "✅ Erfolg" if drone.build.status == "success" else "❌ Fehlgeschlagen" }} - **Event:** `{{ drone.build.event }}` - **Build:** [#{{ drone.build.number }}]({{ drone.build.link }}) + **Status:** ${DRONE_BUILD_STATUS} + **Event:** `${DRONE_BUILD_EVENT}` + **Build:** [#${DRONE_BUILD_NUMBER}](${DRONE_BUILD_LINK}) **Details:** - {% if drone.build.status == "success" %} - Das Skript wurde erfolgreich ausgeführt oder es war kein Update nötig. - {% else %} - Ein Fehler ist aufgetreten. Bitte prüfe die Drone-Logs für den Exit-Code. - {% endif %} + Der Build wurde mit dem Status **${DRONE_BUILD_STATUS}** beendet. + Bitte prüfe die Logs für Details zum Exit-Code des Skripts. - [Protokoll einsehen]({{ drone.build.link }}) \ No newline at end of file + [Protokoll einsehen](${DRONE_BUILD_LINK}) \ No newline at end of file