Added Slack build notifications

no issue
This commit is contained in:
Daniel Lockyer 2020-06-16 22:04:59 +01:00
parent 84287b75f9
commit 202a284760
1 changed files with 7 additions and 0 deletions

View File

@ -32,3 +32,10 @@ jobs:
- run: yarn test
env:
BROWSER: ${{ matrix.browser }}
- uses: daniellockyer/action-slack-build@master
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
status: ${{ job.status }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}