Skip to content

Commit 2f5ac1e

Browse files
committed
Add clean up step for deployments
1 parent 15ed72b commit 2f5ac1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy-gh-pages.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
- name: 🔧 Build PEPs
3737
run: make pages -j$(nproc)
3838

39+
# remove the .doctrees folder when building for deployment as it takes two thirds of disk space
40+
- name: 🔥 Clean up files
41+
run: rm -r build/.doctrees/
42+
3943
- name: 🚀 Deploy to GitHub pages
4044
uses: JamesIves/[email protected]
4145
with:

0 commit comments

Comments
 (0)