Skip to content

Commit 1c70f13

Browse files
authored
Merge pull request #28 from Halbaroth/deploy-doc
Plublish doc on gh-pages branch
2 parents 9204a3d + 89ab2ef commit 1c70f13

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/documentation.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ env:
1010
OPAMYES: true
1111

1212
jobs:
13-
odoc:
14-
name: Odoc documentation
13+
build-and-deploy:
1514
runs-on: ubuntu-latest
1615
env:
1716
OPAMWITHDOC: true
@@ -33,8 +32,9 @@ jobs:
3332
- name: Make odoc documentation
3433
run: opam exec -- make doc
3534

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

0 commit comments

Comments
 (0)