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
|
||||
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
|
||||
image: golang:1.18
|
||||
commands:
|
||||
@ -56,6 +65,9 @@ steps:
|
||||
✅ Build *#{{build.number}}* of *{{repo.name}}* succeeded.
|
||||
{{else}}
|
||||
❌ Build *#{{build.number}}* of *{{repo.name}}* failed.
|
||||
|
||||
Stages: {{build.failedStages}}
|
||||
Steps: {{build.failedSteps}}
|
||||
{{/success}}
|
||||
|
||||
📝 Commit on *{{commit.branch}}*:
|
||||
|
Loading…
Reference in New Issue
Block a user