Skip to content

Commit f205389

Browse files
committed
Run full check and save cache
1 parent a0bc41f commit f205389

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Save cached Linkcheck
6464
id: cache-linkcheck-save
65-
if: ${{ !cancelled() && github.event_name == 'schedule' }}
65+
if: ${{ !cancelled() }}
6666
uses: actions/cache/save@v4
6767
with:
6868
path: book/linkcheck/cache.json

ci/linkcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ -z "$ENABLE_LINKCHECK" ] ; then
1515
fi
1616

1717
# https://docs.github.com/en/actions/reference/environment-variables
18-
if [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job
18+
if [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in scheduled job
1919
FLAGS=""
2020
USE_TOKEN=1
2121

0 commit comments

Comments
 (0)