Skip to content

Commit

Permalink
Plublish doc on gh-pages branch
Browse files Browse the repository at this point in the history
Use a specific branch to deploy the documentation.
  • Loading branch information
Halbaroth committed Mar 28, 2024
1 parent 9204a3d commit 89ab2ef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ env:
OPAMYES: true

jobs:
odoc:
name: Odoc documentation
build-and-deploy:
runs-on: ubuntu-latest
env:
OPAMWITHDOC: true
Expand All @@ -33,8 +32,9 @@ jobs:
- name: Make odoc documentation
run: opam exec -- make doc

- name: Upload documentation
uses: actions/upload-artifact@v4
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
name: odoc
path: _build/default/_doc/_html/
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: _build/default/_doc/_html/

0 comments on commit 89ab2ef

Please sign in to comment.