Skip to content

Commit

Permalink
Merge pull request #142 from IMMM-SFA/dev
Browse files Browse the repository at this point in the history
workflow
  • Loading branch information
thurber authored Dec 26, 2024
2 parents 2c3cd05 + 893e1c0 commit d655f32
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/02_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/setup-python@master
with:
python-version: '3.9'
- name: Install latex dependencies
run: sudo apt-get update -y && sudo apt-get install -y texlive latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended ghostscript
- name: Update pip and install python dependencies
working-directory: 'docs/'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[docs]"
- name: Build html and pdf ebook
working-directory: 'docs/'
env:
NODE_ENV: production
run: |
make html latexpdf --keep-going LATEXMKOPTS="-interaction=nonstopmode" || true
make latexpdf --keep-going LATEXMKOPTS="-interaction=nonstopmode" || true
Expand Down

0 comments on commit d655f32

Please sign in to comment.