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:
Daniel Lockyer 2020-06-10 08:58:35 +01:00
parent 2229fd4d6c
commit 754086c3a5
1 changed files with 12 additions and 14 deletions

View File

@ -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 }}