Skip to content

Commit

Permalink
Add clean up step for deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jun 15, 2021
1 parent 15ed72b commit 58d3e03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
- name: 🔧 Build PEPs
run: make pages -j$(nproc)

# remove the .doctrees folder when building for deployment as it takes two thirds of disk space
- name: 🔥 Clean up files
run: rm build/.doctrees/

- name: 🚀 Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
Expand Down

0 comments on commit 58d3e03

Please sign in to comment.