Skip to content

docs: fix code to image conversion example #175

docs: fix code to image conversion example

docs: fix code to image conversion example #175

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install cargo-binstall
uses: cargo-bins/[email protected]
- name: Install mdbook
run: |
cargo binstall -y [email protected] [email protected]
- name: Build the book
run: |
cd docs
mdbook build
- name: Deploy build to gh-pages branch
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docs/book
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}