Skip to content

Commit 693bbb2

Browse files
committed
Update condiction to send error report: failure()
1 parent b5d75a2 commit 693bbb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scheduler_daily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
publish_dir: ./_site
9898

9999
- name: 🔔 Notify error to Slack (if any)
100-
if: github.ref == 'refs/heads/main' && job.status != 'success'
100+
if: failure()
101101
uses: yasslab/slack_notify@main
102102
with:
103103
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)