Skip to content

Merge pull request #23 from o1-labs/dw/remove-publish-job #34

Merge pull request #23 from o1-labs/dw/remove-publish-job

Merge pull request #23 from o1-labs/dw/remove-publish-job #34

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
push:
branches:
- main
jobs:
release:
name: GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup OCaml (because of ocaml-gen)
run: |
sudo apt update
sudo apt install -y opam
opam init -y
- name: Build Rust Documentation
run: |
rustup install nightly
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --all --no-deps
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc