Repository navigation
prepare for 0.22 #153
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: github pages | |
| on: | |
| push: | |
| branches: | |
| - main # Set a branch name to trigger deployment | |
| jobs: | |
| deploy: | |
| name: Deploy doc | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/c-cube/c-cube-commmon/ci-doc-5.3:latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: apt update && opam install tiny_httpd tiny_httpd_eio tiny_httpd_camlzip -t | |
| - run: opam exec -- odig odoc --cache-dir=_doc/ tiny_httpd tiny_httpd_eio tiny_httpd_camlzip | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./_doc/html | |
| destination_dir: . | |
| enable_jekyll: false |