ci/doc: clean HTML build before uploading artifact
This commit is contained in:
parent
76b03380e7
commit
3fc8741525
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue