This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new 9f1eb39808 [feat] Only check all docs dead link in schedule event
(#840)
9f1eb39808 is described below
commit 9f1eb39808ea9e1ecdbf8b4300cd8ff07c87ee42
Author: Jay Chung <[email protected]>
AuthorDate: Wed Nov 9 21:41:43 2022 +0800
[feat] Only check all docs dead link in schedule event (#840)
---
.github/workflows/dead-link-checker.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.github/workflows/dead-link-checker.yaml
b/.github/workflows/dead-link-checker.yaml
index 15d2b18ca9..9935285414 100644
--- a/.github/workflows/dead-link-checker.yaml
+++ b/.github/workflows/dead-link-checker.yaml
@@ -17,7 +17,12 @@
name: Dead Link Checker
on:
+ push:
+ branches:
+ - master
pull_request:
+ schedule:
+ - cron: "0 5 * * *"
concurrency:
group: dlc-${{ github.event.pull_request.number || github.ref }}
@@ -30,6 +35,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Prepare Related Resource
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|| github.event_name == 'schedule'
run: ./scripts/prepare_docs.sh
- run: sudo npm install -g [email protected]
# We need to delete directory swap before markdown checker