Monthly link check #38
This file contains 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: Monthly link check | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "00 12 1 1-12 *" | |
jobs: | |
bookbuild: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Set up environment | |
uses: actions/setup-python@v1 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -e . | |
sudo apt-get update -qq -y --allow-releaseinfo-change | |
sudo apt-get install -q --no-install-recommends -y eatmydata | |
sudo eatmydata apt-get install -q --no-install-recommends -y texlive-latex-recommended texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra latexmk librsvg2-bin | |
- name: Build docs | |
run: | | |
make linkcheck | tee linkcheck.txt | |
python tools/link_consolidator.py linkcheck.txt | |