[ci] Clean up the button
This commit is contained in:
@ -54,10 +54,10 @@ steps:
|
|||||||
- vrobbler
|
- vrobbler
|
||||||
actions:
|
actions:
|
||||||
- action: view
|
- action: view
|
||||||
label: View changes
|
label: Changes
|
||||||
url: "{{ .Commit.Link }}"
|
url: "{{ .Commit.Link }}"
|
||||||
- action: view
|
- action: view
|
||||||
label: View build
|
label: Build
|
||||||
url: "{{ .Build.Link }}"
|
url: "{{ .Build.Link }}"
|
||||||
- name: build failure notification
|
- name: build failure notification
|
||||||
image: parrazam/drone-ntfy:0.3-linux-amd64
|
image: parrazam/drone-ntfy:0.3-linux-amd64
|
||||||
@ -72,10 +72,10 @@ steps:
|
|||||||
- vrobbler
|
- vrobbler
|
||||||
actions:
|
actions:
|
||||||
- action: view
|
- action: view
|
||||||
label: View changes
|
label: Changes
|
||||||
url: "{{ .Commit.Link }}"
|
url: "{{ .Commit.Link }}"
|
||||||
- action: view
|
- action: view
|
||||||
label: View build
|
label: Build
|
||||||
url: "{{ .Build.Link }}"
|
url: "{{ .Build.Link }}"
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
|||||||
@ -54,7 +54,7 @@ jobs:
|
|||||||
-H "Title: vrobbler CI success" \
|
-H "Title: vrobbler CI success" \
|
||||||
-H "Priority: low" \
|
-H "Priority: low" \
|
||||||
-H "Tags: success,vrobbler" \
|
-H "Tags: success,vrobbler" \
|
||||||
-H "Actions: view, View changes, ${{ gitea.server_url }}/${{ gitea.repository }}/commit/${{ gitea.sha }}; view, View build, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}" \
|
-H "Actions: view, Changes, ${{ gitea.server_url }}/${{ gitea.repository }}/commit/${{ gitea.sha }}; view, Build, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}" \
|
||||||
-d "✅ Build succeeded: ${{ gitea.repository }} @ ${{ gitea.sha }}" \
|
-d "✅ Build succeeded: ${{ gitea.repository }} @ ${{ gitea.sha }}" \
|
||||||
https://ntfy.unbl.ink/drone
|
https://ntfy.unbl.ink/drone
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ jobs:
|
|||||||
-H "Title: vrobbler CI failure" \
|
-H "Title: vrobbler CI failure" \
|
||||||
-H "Priority: high" \
|
-H "Priority: high" \
|
||||||
-H "Tags: failure,vrobbler" \
|
-H "Tags: failure,vrobbler" \
|
||||||
-H "Actions: view, View changes, ${{ gitea.server_url }}/${{ gitea.repository }}/commit/${{ gitea.sha }}; view, View build, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}" \
|
-H "Actions: view, Changes, ${{ gitea.server_url }}/${{ gitea.repository }}/commit/${{ gitea.sha }}; view, Build, ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}" \
|
||||||
-d "❌ Build failed: ${{ gitea.repository }} @ ${{ gitea.sha }}" \
|
-d "❌ Build failed: ${{ gitea.repository }} @ ${{ gitea.sha }}" \
|
||||||
https://ntfy.unbl.ink/drone
|
https://ntfy.unbl.ink/drone
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user