Update pipeline start message
This commit is contained in:
parent
944904ae94
commit
2dd2543951
@ -3,7 +3,7 @@ type: docker
|
|||||||
name: Build and Push docker image
|
name: Build and Push docker image
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Post pipeline status to discord
|
- name: Post pipeline start message to discord
|
||||||
image: appleboy/drone-discord
|
image: appleboy/drone-discord
|
||||||
settings:
|
settings:
|
||||||
username: Drone CI Bot
|
username: Drone CI Bot
|
||||||
@ -12,7 +12,7 @@ steps:
|
|||||||
webhook_token:
|
webhook_token:
|
||||||
from_secret: discord_webhook_token
|
from_secret: discord_webhook_token
|
||||||
avatar_url: https://miro.medium.com/v2/resize:fit:1358/0*AqO_2lNemh_Fl9Gm.png
|
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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
@ -63,7 +63,7 @@ steps:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
- name: Post pipeline starting to discord
|
- name: Post pipeline finished status to discord
|
||||||
image: appleboy/drone-discord
|
image: appleboy/drone-discord
|
||||||
settings:
|
settings:
|
||||||
username: Drone CI Bot
|
username: Drone CI Bot
|
||||||
@ -77,4 +77,4 @@ steps:
|
|||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
Loading…
x
Reference in New Issue
Block a user