Skip to content

Merge pull request #849 from donatik27/master #79

Merge pull request #849 from donatik27/master

Merge pull request #849 from donatik27/master #79

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@v2
- name: Use OCaml "4.14.0"
uses: avsm/setup-ocaml@v1
with:
ocaml-version: 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