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:
parent
7075470af1
commit
bcbcf7051d
1 changed files with 7 additions and 0 deletions
7
ghost/portal/.github/workflows/test.yml
vendored
7
ghost/portal/.github/workflows/test.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue