feat(drone); Improve telegram message
This commit is contained in:
parent
48b1739576
commit
2304a11465
12
.drone.yml
12
.drone.yml
@ -27,6 +27,15 @@ steps:
|
|||||||
- name: gopath
|
- name: gopath
|
||||||
path: /go
|
path: /go
|
||||||
|
|
||||||
|
- name: tidy
|
||||||
|
image: golang:1.18
|
||||||
|
commands:
|
||||||
|
- go mod tidy
|
||||||
|
- git diff --exit-code -- go.mod go.sum
|
||||||
|
volumes:
|
||||||
|
- name: gopath
|
||||||
|
path: /go
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golang:1.18
|
image: golang:1.18
|
||||||
commands:
|
commands:
|
||||||
@ -56,6 +65,9 @@ steps:
|
|||||||
✅ Build *#{{build.number}}* of *{{repo.name}}* succeeded.
|
✅ Build *#{{build.number}}* of *{{repo.name}}* succeeded.
|
||||||
{{else}}
|
{{else}}
|
||||||
❌ Build *#{{build.number}}* of *{{repo.name}}* failed.
|
❌ Build *#{{build.number}}* of *{{repo.name}}* failed.
|
||||||
|
|
||||||
|
Stages: {{build.failedStages}}
|
||||||
|
Steps: {{build.failedSteps}}
|
||||||
{{/success}}
|
{{/success}}
|
||||||
|
|
||||||
📝 Commit on *{{commit.branch}}*:
|
📝 Commit on *{{commit.branch}}*:
|
||||||
|
Loading…
Reference in New Issue
Block a user