Standardise CI & Makefile across Miden repos #666
Workflow file for this run
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: miden book | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
deploy: | |
name: Deploy miden-vm mdbook | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Install katex & linkcheck | |
run: | | |
rustup update --no-self-update stable | |
cargo +stable install mdbook-katex mdbook-linkcheck | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: "latest" | |
- name: Build miden book | |
run: mdbook build docs/ | |
# - name: Deploy to GitHub Pages | |
# uses: peaceiris/actions-gh-pages@v3 | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# publish_dir: ./docs/book/html |