mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Re-enabled Slack build notifications
no issue - Switched to using my own implementation because the rest did not meet our requirements
This commit is contained in:
parent
2229fd4d6c
commit
754086c3a5
1 changed files with 12 additions and 14 deletions
26
.github/workflows/test.yml
vendored
26
.github/workflows/test.yml
vendored
|
@ -48,13 +48,12 @@ jobs:
|
|||
- run: grunt test-unit --verbose
|
||||
- run: grunt test-regression --verbose
|
||||
|
||||
#- uses: 8398a7/action-slack@v3
|
||||
# if: ${{ failure() }} && github.ref == 'refs/heads/master'
|
||||
# with:
|
||||
# status: ${{ job.status }}
|
||||
# fields: repo,message,commit,author,ref
|
||||
# env:
|
||||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
- 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 }}
|
||||
|
||||
ghost-cli:
|
||||
name: Ghost-CLI
|
||||
|
@ -88,10 +87,9 @@ jobs:
|
|||
ghost install v2 --local -d $DIR
|
||||
ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||
|
||||
#- uses: 8398a7/action-slack@v3
|
||||
# if: ${{ failure() }} && github.ref == 'refs/heads/master'
|
||||
# with:
|
||||
# status: ${{ job.status }}
|
||||
# fields: repo,message,commit,author,ref
|
||||
# env:
|
||||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
- 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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue