Skip to content

Commit

Permalink
fix: Update doc deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakv committed Aug 19, 2024
1 parent 92cf188 commit 0ab6f5c
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/doc-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,32 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python 3.10.5
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11

- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: false
activate-environment: pyrorisks
- run: conda install conda-lock
- run: conda-lock install -n pyro-risks pyrorisks.conda-lock.yml

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.1
virtualenvs-create: false

- name: Install dependencies
run: poetry install


- name: Build documentation
run: |
poetry run sphinx-build docs/source docs/build -a -v
Expand Down

0 comments on commit 0ab6f5c

Please sign in to comment.