Skip to content

Commit

Permalink
Adding post deploy step needed for slack notifications (#11654)
Browse files Browse the repository at this point in the history
Co-authored-by: Doug White <[email protected]>
  • Loading branch information
dwhitestratiform and Doug White authored Apr 3, 2024
1 parent 7222d25 commit 17aaf97
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/post-deploy-slack-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Post Deploy

on:
workflow_run:
workflows: [Deploy]
branches: [main, val, production]
types: [completed]

jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- run: echo 'The triggering workflow passed'
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The triggering workflow failed'

0 comments on commit 17aaf97

Please sign in to comment.