Skip to content

Commit

Permalink
build report as part of docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog committed Jan 14, 2024
1 parent 3ba65f1 commit 72864fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
opam pin add -n -y -k path coq-abs-metatheory .
opam update -y
opam install -y -j "$(nproc)" coq-abs-metatheory --deps-only
opam install -y -j "$(nproc)" ott conf-texlive
endGroup
startGroup "Add permissions"
sudo chown -R coq:coq .
Expand All @@ -35,6 +36,9 @@ jobs:
startGroup "Build coqdoc"
make coqdoc
endGroup
startGroup "Build report"
make docs/report/main.pdf
endGroup
- name: Revert Coq user permissions
# to avoid a warning at cleanup time
Expand All @@ -43,9 +47,10 @@ jobs:

- name: Copy HTML and CSS and JavaScript
run: |
mkdir -p public/docs
mkdir -p public/docs/report
cp resources/index.html public/
cp -r docs/coqdoc public/docs
cp docs/report/main.pdf public/docs/report
- name: Deploy to GitHub pages
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 72864fe

Please sign in to comment.