Skip to content

Merge pull request #6905 from str4d/ci-bump-macos-runner #9

Merge pull request #6905 from str4d/ci-bump-macos-runner

Merge pull request #6905 from str4d/ci-bump-macos-runner #9

Workflow file for this run

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