Skip to content

Commit 14cc1cf

Browse files
authored
Update docs.yml
1 parent 7ff6cb0 commit 14cc1cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
path: ${{ env.PATH_DOC }}
5454
token: ${{ secrets.PAT }}
5555

56+
- name: Clean up before the build
57+
working-directory: ${{ env.PATH_DOC }}
58+
continue-on-error: true
59+
run: git rm -r '*'
60+
5661
- name: Build doc artifacts with Hugo
5762
run: hugo --destination ${{ env.PATH_DOC }} --minify
5863
working-directory: docs

0 commit comments

Comments
 (0)