From 7c5bb7a46263c55576c5fa2083aa32f0bc714f1c Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Mon, 22 May 2023 15:27:53 -0700 Subject: [PATCH] Update pipeline start message --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index adc2cacd..e060befb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ type: docker name: Build and Push docker image steps: -- name: Post pipeline status to discord +- name: Post pipeline start message to discord image: appleboy/drone-discord settings: username: Drone CI Bot @@ -12,7 +12,7 @@ steps: webhook_token: from_secret: discord_webhook_token avatar_url: https://miro.medium.com/v2/resize:fit:1358/0*AqO_2lNemh_Fl9Gm.png - message: "Drone build [[#{{build.number}}]({{build.link}})] has started" + message: "A new drone build has started\n\nRepository `[{{repo.name}}/{{commit.branch}}]` triggered by event `[{{uppercase build.event}}]` for build.\n - Commit [[{{commit.sha}}]({{commit.link}})]\n - Author `[{{commit.author}} / {{commit.email}}]`\n - Message: {{commit.message}} - Drone build [[#{{build.number}}]({{build.link}})]" trigger: branch: - master @@ -63,7 +63,7 @@ steps: event: - push -- name: Post pipeline starting to discord +- name: Post pipeline finished status to discord image: appleboy/drone-discord settings: username: Drone CI Bot @@ -77,4 +77,4 @@ steps: branch: - master event: - - push + - push \ No newline at end of file