Skip to content

Merge pull request #860 from o1-labs/dw/bump-up-ci-docs #87

Merge pull request #860 from o1-labs/dw/bump-up-ci-docs

Merge pull request #860 from o1-labs/dw/bump-up-ci-docs #87

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
push:
branches:
- master
jobs:
release:
name: GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use OCaml "4.14.0"
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14.0"
- name: Build Documentation
run: |
eval $(opam env)
opam pin add . -y
opam install odoc
make website
cd website/website
yarn
yarn build
pwd
ls
ls build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/website/build/snarky