Skip to content

Commit

Permalink
Create conda env for sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderKalistratov committed Nov 8, 2023
1 parent ea7a10f commit fb8d6d9
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,23 @@ jobs:
with:
fetch-depth: 0

- name: Add conda to system path
run: echo $CONDA/bin >> $GITHUB_PATH
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
run-post: false
miniforge-variant: Mambaforge
miniforge-version: latest

- name: Conda info
run: |
conda info
conda list
- name: Sphinx
run: |
conda env update -n base -f environment.yml --prune
conda env create -f environment.yml
conda activate docs
cd docs
make html
Expand Down

0 comments on commit fb8d6d9

Please sign in to comment.