Skip to content

Update CI.

Update CI. #55

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
jobs:
build_doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup OCaml
uses: avsm/setup-ocaml@v2
with:
ocaml-compiler: 5.00
- name: Pin locally
run: opam pin -y add -n .
- name: Install locally
run: opam install -y odoc metadata
- name: Build doc
run: opam exec dune build @doc
- name: Upload website artifact
uses: actions/upload-pages-artifact@v2
with:
path: _build/default/_doc/_html
deploy:
needs: build

Check failure on line 29 in .github/workflows/doc.yml

View workflow run for this annotation

GitHub Actions / Documentation

Invalid workflow file

The workflow is not valid. .github/workflows/doc.yml (Line: 29, Col: 12): Job 'deploy' depends on unknown job 'build'.
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy website
id: deployment
uses: actions/deploy-pages@v2