Skip to content

Commit bb36306

Browse files
committed
Update gh-pages.yml
1 parent 691d55b commit bb36306

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
- name: Build HTML
3535
run: sphinx-build -b html source build/html
3636

37+
- name: Clean up nested Git metadata
38+
run: |
39+
find build/html -type d -name .git -prune -exec rm -rf {} +
40+
41+
3742
- name: Deploy to gh-pages
3843
uses: peaceiris/actions-gh-pages@v4
3944
with:

0 commit comments

Comments
 (0)