File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,10 +48,11 @@ jobs:
4848 fetch-depth : 2
4949
5050 - name : Install dependencies
51+ shell : bash -l {0}
5152 run : |
52- pip install manim-voiceover[gtts] invoke python-graphblas networkx matplotlib python-dotenv mkdocs mkdocs-material pymdown-extensions
53+ conda run -n base pip install manim-voiceover[gtts] invoke python-graphblas networkx matplotlib python-dotenv mkdocs mkdocs-material pymdown-extensions
5354 if [ "${{ inputs.prod }}" = "true" ]; then
54- pip install 'elevenlabs>=0.2.27,<0.3.0'
55+ conda run -n base pip install 'elevenlabs>=0.2.27,<0.3.0'
5556 fi
5657
5758 - name : Restore video cache
@@ -106,9 +107,11 @@ jobs:
106107 fi
107108
108109 - name : Build chapters
110+ shell : bash -l {0}
109111 env :
110112 ELEVEN_API_KEY : ${{ secrets.ELEVEN_API_KEY }}
111113 run : |
114+ eval "$(conda shell.bash hook)" && conda activate base
112115 REBUILD="${{ steps.chapters.outputs.rebuild }}"
113116 echo "Chapters to rebuild: ${REBUILD:-none}"
114117
@@ -158,7 +161,8 @@ jobs:
158161 fi
159162
160163 - name : Build MkDocs site
161- run : mkdocs build
164+ shell : bash -l {0}
165+ run : conda run -n base mkdocs build
162166
163167 - name : Upload Pages artifact
164168 uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments