From e8d2288502817faa5ebf57811c329f91e8cdbc52 Mon Sep 17 00:00:00 2001 From: Michael Webb Date: Tue, 3 May 2022 21:00:47 +1000 Subject: [PATCH] Fix Slack notification --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70d50ce..1997196 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: env: SLACK_BOT_TOKEN: "${{ secrets.BELLROY_SLACK_TOKEN }}" with: - args: '{\"channel\":\"{{ env.SLACK_CHANNEL_ID }}\",\"text\":\"* ${{ github.repository }} BUILD + args: '{\"channel\":\"${{ env.SLACK_CHANNEL_ID }}\",\"text\":\"* ${{ github.repository }} BUILD FAILURE*\", \"attachments\": [{ \"fallback\": \"Failure summary\", \"color\": \"#ff0000\", \"fields\": [{\"title\": \"Branch\", \"value\":\"${{ steps.extract_branch.outputs.branch }}\"}, {\"title\": \"Who broke it\", \"value\":\"${{ github.actor }}\"},