Skip to content

Commit 94b10b0

Browse files
committed
Add continue-on-error for cache saving
1 parent 1df967c commit 94b10b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
- name: Save cached Linkcheck
6464
id: cache-linkcheck-save
6565
if: github.event_name == 'schedule'
66+
continue-on-error: true
6667
uses: actions/cache/save@v4
6768
with:
6869
path: book/linkcheck/cache.json

ci/linkcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set_github_token() {
88
}
99

1010
# https://docs.github.com/en/actions/reference/environment-variables
11-
if [ yes ] ; then # running in scheduled job
11+
if [ "$GITHUB_EVENT_NAME" = "schedule" ] ; then # running in scheduled job
1212
FLAGS=""
1313
USE_TOKEN=1
1414

0 commit comments

Comments
 (0)