Skip to content

Commit

Permalink
Clean slack notification
Browse files Browse the repository at this point in the history
  • Loading branch information
gdepuille committed Sep 10, 2023
1 parent e9a680d commit 7365a76
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,3 @@ jobs:
cd cmake-build-release
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
make
- name: Notify slack success
if: steps.build.outcome == 'success' && github.ref == 'refs/heads/main'
uses: voxmedia/[email protected]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel: builds
status: SUCCESS
color: good

- name: Notify slack fail
if: steps.build.outcome == 'failure' && github.ref == 'refs/heads/main'
uses: voxmedia/[email protected]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel: builds
status: FAILED
color: danger

0 comments on commit 7365a76

Please sign in to comment.