Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: documentation workflow optimizations. #14372

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@
#
---
name: "Build Documentation"

on:
pull_request:
push:
branches:
- master
cederom marked this conversation as resolved.
Show resolved Hide resolved
paths:
- 'Documentation/**'

pull_request:
paths:
- 'Documentation/**'

concurrency:
group: docs-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -31,19 +39,12 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install LaTeX packages
run: |
sudo apt-get update -y
sudo apt-get install -y \
texlive-latex-recommended texlive-fonts-recommended \
texlive-latex-base texlive-latex-extra latexmk texlive-luatex \
fonts-freefont-otf xindy
- name: Generate Documentation
run: |
cd Documentation/
pip3 install pipenv
pipenv install
pipenv run make html latexpdf
pipenv run make html
- uses: actions/upload-artifact@v4
with:
name: sphinx-docs
Expand Down
Loading