File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,14 @@ jobs:
3030 runs-on : ubuntu-latest
3131 env :
3232 MDBOOK_VERSION : 0.4.49
33+ MDBOOK_TOC_VERSION : 0.14.2
3334 steps :
3435 - uses : actions/checkout@v5
3536 - name : Install mdBook
3637 run : |
3738 curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
3839 cargo install --version ${MDBOOK_VERSION} mdbook
39- cargo install mdbook-toc
40+ cargo install --version ${MDBOOK_TOC_VERSION} mdbook-toc
4041 - name : Setup Pages
4142 id : pages
4243 uses : actions/configure-pages@v5
5051
5152 # Deployment job
5253 deploy :
53- if : github.ref == 'refs/heads/main' # Run only if on main branch
54+ if : github.ref == 'refs/heads/main' # Run only if on main branch
5455 environment :
5556 name : github-pages
5657 url : ${{ steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments