Skip to content

Commit

Permalink
Only slack the channel on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Aug 20, 2021
1 parent 2f4b76f commit e47e9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:


slack-workflow-status:
if: always()
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
name: Post Workflow Status To Slack
needs:
- cd
Expand Down

0 comments on commit e47e9a9

Please sign in to comment.