We currently have a few broken links in our documentation. This PR make our CI check for broken links before uploading it. Note that it will not fail any job, so we still need to check the output occasionally for now.
- 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
+
- name: Setup Context
run: |
HASH=${{ github.event.workflow_run.head_commit.id }}