mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
ci: Improve notification wording
This commit is contained in:
parent
9876946f10
commit
8f2e628449
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -119,21 +119,21 @@ jobs:
|
|||
if: needs.await-deploy.result == 'success'
|
||||
run: |
|
||||
curl -s \
|
||||
-H "Title: CI: Deploy succeeded" \
|
||||
-H "Title: CI: Deployment succeeded" \
|
||||
-H "Priority: low" \
|
||||
-H "Tags: white_check_mark" \
|
||||
-H "Actions: view, Open workflow run, ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
-H "Markdown: yes" \
|
||||
-d $'Commit `'"${GITHUB_SHA::7}"$'` deployed successfully.\n\n> ${{ github.event.head_commit.message }}' \
|
||||
-d $'Commit `'"${GITHUB_SHA::7}"$'` deployed successfully.\n> ${{ github.event.head_commit.message }}' \
|
||||
https://ntfy.sh/splitleaf
|
||||
- name: Notify failure
|
||||
if: needs.await-deploy.result == 'failure'
|
||||
run: |
|
||||
curl -s \
|
||||
-H "Title: CI: Deploy failed" \
|
||||
-H "Title: CI: Deployment failed" \
|
||||
-H "Priority: default" \
|
||||
-H "Tags: rotating_light" \
|
||||
-H "Actions: view, Open workflow run, ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
-H "Markdown: yes" \
|
||||
-d $'Commit `'"${GITHUB_SHA::7}"$'` failed to deploy.\n\n> ${{ github.event.head_commit.message }}' \
|
||||
-d $'Commit `'"${GITHUB_SHA::7}"$'` failed to deploy.\n> ${{ github.event.head_commit.message }}' \
|
||||
https://ntfy.sh/splitleaf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue