File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 3939 container :
4040 image : manimcommunity/manim:latest
4141 options : --user root
42+ env :
43+ PATH : /opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
4244 environment :
4345 name : github-pages
4446 url : ${{ steps.deployment.outputs.page_url }}
4850 fetch-depth : 2
4951
5052 - name : Install dependencies
51- shell : bash -l {0}
5253 run : |
53- eval "$(conda shell.bash hook)" && conda activate base
5454 pip install manim-voiceover[gtts] invoke python-graphblas networkx matplotlib python-dotenv mkdocs mkdocs-material pymdown-extensions
5555 if [ "${{ inputs.prod }}" = "true" ]; then
5656 pip install 'elevenlabs>=0.2.27,<0.3.0'
9494 fi
9595 else
9696 # On push, rebuild chapters that have cache misses
97- # (the cache key is based on source file hashes, so a miss means something changed)
9897 REBUILD=""
9998 for N in 0 1 2 3 4 5 6 7 8 9; do
10099 CHAPTER="Chapter${N}"
@@ -108,11 +107,9 @@ jobs:
108107 fi
109108
110109 - name : Build chapters
111- shell : bash -l {0}
112110 env :
113111 ELEVEN_API_KEY : ${{ secrets.ELEVEN_API_KEY }}
114112 run : |
115- eval "$(conda shell.bash hook)" && conda activate base
116113 REBUILD="${{ steps.chapters.outputs.rebuild }}"
117114 echo "Chapters to rebuild: ${REBUILD:-none}"
118115
@@ -162,10 +159,7 @@ jobs:
162159 fi
163160
164161 - name : Build MkDocs site
165- shell : bash -l {0}
166- run : |
167- eval "$(conda shell.bash hook)" && conda activate base
168- mkdocs build
162+ run : mkdocs build
169163
170164 - name : Upload Pages artifact
171165 uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments