0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Added CI Slack notifications upon build failure

refs https://linear.app/tryghost/issue/CORE-73

- this helps the team keep on top of failing builds by bringing the visibility forwards
This commit is contained in:
Daniel Lockyer 2021-10-04 15:45:14 +01:00 committed by GitHub
parent 7075470af1
commit bcbcf7051d

View file

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