ci(drone.yml): 👷 Refactor build status template in .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
433e0e9deb
commit
14877af2a8
@ -21,7 +21,7 @@ steps:
|
|||||||
content_type: application/json
|
content_type: application/json
|
||||||
template: |
|
template: |
|
||||||
{
|
{
|
||||||
"title": "Drone Build #{{ build.number }} {{ build.status }} {{#success build.status}}🟢🟢🟢{{else}}🔴🔴🔴{{/success}}",
|
"title": "{{#success build.status}}🟢{{else}}🔴{{/success}} Drone Build #{{ build.number }} {{ build.status }} {{#success build.status}}🟢{{else}}🔴{{/success}}",
|
||||||
"body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ truncate build.commit 8 }}",
|
"body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ truncate build.commit 8 }}",
|
||||||
"group": "drone",
|
"group": "drone",
|
||||||
"url": "{{ build.link }}",
|
"url": "{{ build.link }}",
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -161,3 +161,4 @@ cython_debug/
|
|||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
|
.vscode/settings.json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user