From 27d34932ea082e851eb0bee201f83a8d8befd73b Mon Sep 17 00:00:00 2001 From: Brandon Brown Date: Fri, 8 Mar 2024 21:33:37 -0800 Subject: [PATCH] Remove duplicate content from notifications --- .github/workflows/build-and-deploy.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index e538b21..0494497 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -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 }}"