Skip to content

Commit b5d75a2

Browse files
committed
Move slack_notify action to Daily workflow
1 parent 617bc9a commit b5d75a2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/deploy_to_pages.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,3 @@ jobs:
4848
with:
4949
personal_token: ${{ secrets.GITHUB_TOKEN }}
5050
publish_dir: ./_site
51-
52-
- name: 🔔 Notify error to Slack
53-
if: github.ref == 'refs/heads/main' && job.status != 'success'
54-
uses: yasslab/slack_notify@main
55-
with:
56-
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

.github/workflows/scheduler_daily.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,9 @@ jobs:
9595
with:
9696
personal_token: ${{ secrets.GITHUB_TOKEN }}
9797
publish_dir: ./_site
98+
99+
- name: 🔔 Notify error to Slack (if any)
100+
if: github.ref == 'refs/heads/main' && job.status != 'success'
101+
uses: yasslab/slack_notify@main
102+
with:
103+
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)