mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
Fixed notifications for build failures
no issue - we were still referencing `master` here, whereas we've since switched to `main` - this commit updates the workflow to trigger the notification if it fails on `main` - also enables testing on `v4.*` branches
This commit is contained in:
parent
4a24e0a089
commit
3d7d491f64
3
ghost/admin/.github/workflows/test.yml
vendored
3
ghost/admin/.github/workflows/test.yml
vendored
@ -3,6 +3,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
- 'v4.*'
|
||||||
- main
|
- main
|
||||||
- 'renovate/*'
|
- 'renovate/*'
|
||||||
jobs:
|
jobs:
|
||||||
@ -20,7 +21,7 @@ jobs:
|
|||||||
- run: grunt shell:ember:prod
|
- run: grunt shell:ember:prod
|
||||||
|
|
||||||
- uses: daniellockyer/action-slack-build@master
|
- uses: daniellockyer/action-slack-build@master
|
||||||
if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/4.0' || github.ref == 'refs/heads/master')
|
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
with:
|
with:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user