ci/doc: clean HTML build before uploading artifact

This commit is contained in:
umarcor 2021-12-01 21:30:42 +01:00
parent 76b03380e7
commit 3fc8741525
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ jobs:
token: ${{ github.token }} token: ${{ github.token }}
skip-deploy: ${{ github.event_name == 'pull_request' }} skip-deploy: ${{ github.event_name == 'pull_request' }}
- name: '🧹 Clean HTML build'
if: ${{ github.event_name != 'pull_request' }}
run: sudo rm -rf doc/_build/html/.git
- name: '📤 Upload artifact: HTML' - name: '📤 Upload artifact: HTML'
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: