Merge pull request #6905 from str4d/ci-bump-macos-runner #9
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: zcashd book | |
on: | |
push: | |
branches: | |
- master | |
permissions: {} | |
jobs: | |
deploy: | |
permissions: | |
contents: write # to push pages branch (peaceiris/actions-gh-pages) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
id: toolchain | |
- run: rustup override set ${{steps.toolchain.outputs.name}} | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v2 | |
with: | |
mdbook-version: 'latest' | |
- name: Install mdbook-katex | |
run: cargo install mdbook-katex | |
- name: Build zcashd book | |
run: mdbook build doc/book/ | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc/book/book |