Skip to content

Commit 89a50d3

Browse files
committed
fix root now busting conda env, use manim env instead.
1 parent df9f34b commit 89a50d3

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)