Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Remove duplicate content from notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonb927 committed Mar 9, 2024
1 parent ef771f2 commit 27d3493
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,13 @@ jobs:
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "deploy"
description: "Successfully deployed brandonb.ca `${{ github.sha }}`\nSee [build log](${{ env.BUILD_URL }})"
description: "Successfully deployed brandonb.ca"
color: 0x28a745
env:
BUILD_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

- uses: sarisia/actions-status-discord@v1
if: failure()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "deploy"
description: "Failed to deploy brandonb.ca `${{ github.sha }}`\nSee [build log](${{ env.BUILD_URL }})"
description: "Failed to deploy brandonb.ca"
color: 0xdc3545
env:
BUILD_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 comments on commit 27d3493

Please sign in to comment.