Skip to content

Commit

Permalink
🚧 Deployment Notifications (#628)
Browse files Browse the repository at this point in the history
* add initial success flow

* add output of available events
  • Loading branch information
mitchdawson1982 authored Aug 6, 2024
1 parent d1314ad commit ce3bc2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/notify-slack-on-failure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ jobs:
footer: "Linked Repo <${{github.server_url}}/${{github.repository}}|${{github.repository}}> | <${{github.server_url}}/${{github.repository}}/actions/runs/${{github.event.workflow_run.id}}|View Failure>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ALERT_WEBHOOK }}

on-success:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- run: ${{ tojson(github.event) }}
shell: cat {0}

0 comments on commit ce3bc2e

Please sign in to comment.