Skip to content

Commit c0c5e69

Browse files
committed
mkdocs build now needs conda env too
1 parent 89a50d3 commit c0c5e69

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ jobs:
5050
- name: Install dependencies
5151
shell: bash -l {0}
5252
run: |
53-
conda run -n base pip install manim-voiceover[gtts] invoke python-graphblas networkx matplotlib python-dotenv mkdocs mkdocs-material pymdown-extensions
53+
eval "$(conda shell.bash hook)" && conda activate base
54+
pip install manim-voiceover[gtts] invoke python-graphblas networkx matplotlib python-dotenv mkdocs mkdocs-material pymdown-extensions
5455
if [ "${{ inputs.prod }}" = "true" ]; then
55-
conda run -n base pip install 'elevenlabs>=0.2.27,<0.3.0'
56+
pip install 'elevenlabs>=0.2.27,<0.3.0'
5657
fi
5758
5859
- name: Restore video cache
@@ -162,7 +163,9 @@ jobs:
162163
163164
- name: Build MkDocs site
164165
shell: bash -l {0}
165-
run: conda run -n base mkdocs build
166+
run: |
167+
eval "$(conda shell.bash hook)" && conda activate base
168+
mkdocs build
166169
167170
- name: Upload Pages artifact
168171
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)