Update pipeline start message
This commit is contained in:
parent
a0f2b79575
commit
84b45e043c
@ -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
|
Loading…
x
Reference in New Issue
Block a user