Link Check #2305
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Link Check" | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 */12 * * *' | |
| jobs: | |
| link-check: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v3 | |
| - name: Python Setup | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.9 | |
| cache: 'pip' | |
| - name: Python Install Dependencies | |
| run: pip install -r docs/requirements.txt | |
| - name: link-check | |
| run: make -C docs/ linkcheckdiff SPHINXOPTS="--keep-going" | |
| - name: Arhive Log | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: LINKCHECK--1 | |
| path: docs/build/linkcheckdiff/output.json | |
| retention-days: 7 |