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 b86912c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,31 @@ jobs:
main:
if: ${{ !(github.event.pull_request && github.event.action == 'closed') }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}

steps:
- uses: actions/checkout@v2
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
environment-file: environment.yml

- name: Conda info
run: |
conda info
conda list
- name: Sphinx
run: |
conda env update -n base -f environment.yml --prune
cd docs
make html
Expand Down
Binary file modified environment.yml
Binary file not shown.

0 comments on commit b86912c

Please sign in to comment.