Skip to content

Commit

Permalink
Fix discord webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRevo3D authored Sep 8, 2024
1 parent 057c673 commit 00a9f44
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,16 @@ jobs:
embed-title : "${{ github.event.commits[0].author.name }}"
embed-color: 3659647
embed-timestamp: ${{ env.NOW }}
embed-description: >
"Commit\n
`${{ github.event.head_commit.message }} (${{ github.sha }})`\n
from branch `${{ env.BRANCH_NAME }}` has been successfully built.\n\n
Release URL:\n
https://github.com/CommitteeOfZero/impacto/releases/tag/${{ needs.get_version.outputs.version }}\n\n
Details:\n
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
embed-description: |
Commit
`${{ github.event.head_commit.message }} (${{ github.sha }})`
from branch `${{ env.BRANCH_NAME }}` has been successfully built.
Release URL:
https://github.com/CommitteeOfZero/impacto/releases/tag/${{ needs.get_version.outputs.version }}
Details:
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
notify_fail:
name: Notify failure
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -193,12 +195,13 @@ jobs:
embed-title : "${{ github.event.commits[0].author.name }}"
embed-color: 16711680
embed-timestamp: ${{ steps.date.outputs.NOW }}
embed-description: >
"Commit\n
`${{ github.event.head_commit.message }} (${{ github.sha }})`\n
from branch `${{ env.BRANCH_NAME }}` has failed build.\n\n
Job status:\n
embed-description: |
Commit
`${{ github.event.head_commit.message }} (${{ github.sha }})`
from branch `${{ env.BRANCH_NAME }}` has failed build.
Job status:
${{join(steps.get_jobs_status.outputs.*, '\n')}}
${{join(steps.get_jobs_status.outputs.*, '\n')}}\n\n
Details:\n
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
Details:
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 comments on commit 00a9f44

Please sign in to comment.