Skip to content

Commit

Permalink
ci: Disable link checker for docs upload. (cvc5#11061)
Browse files Browse the repository at this point in the history
The link checker triggers anti-dos measures of websites like
gmplib.org, which causes the docs upload action to timeout and fail.
  • Loading branch information
aniemetz authored Jul 17, 2024
1 parent 5558e34 commit 4c39686
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/docs_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
git config --global user.email "docbot@cvc5"
git config --global user.name "DocBot"
- name: Download artifact
uses: actions/github-script@v7
with:
Expand All @@ -41,12 +41,14 @@ jobs:
- name: Unpack artifact
run: unzip download.zip -d docs-new/

- name: Check for broken links
continue-on-error: true
run: |
python3 -m pip install linkchecker
linkchecker --check-extern docs-new/index.html

# disabled, causes websites like gmplib.org to trigger their anti-dos
# measure, which causes the action to time out
#- name: Check for broken links
# continue-on-error: true
# run: |
# python3 -m pip install linkchecker
# linkchecker --check-extern docs-new/index.html

# This workflow is run for commits in PRs (from branches in forks), commits
# (from branches in main repo, usually main branch) and tags. Unfortunately,
Expand Down

0 comments on commit 4c39686

Please sign in to comment.