Skip to content

Commit

Permalink
CI: Pre-fetch template for building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jan 18, 2024
1 parent bc00314 commit a0c1f92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs-build-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:
python -m pip install -r docs/requirements.txt
python -m hatch version | tail -n1 | xargs
- name: Pre-install template
run: |
python -c "from templateflow.api import get; get('MNI152NLin2009cAsym', desc='brain', resolution=1, suffix='T1w')"
- name: Build docs
run: |
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
Expand Down

0 comments on commit a0c1f92

Please sign in to comment.