Update pipeline start message

This commit is contained in:
Luke Robles 2023-05-22 15:27:53 -07:00
parent 944904ae94
commit 2dd2543951

View File

@ -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