Skip to content

Commit 7928321

Browse files
authored
Update build.yml
1 parent 7371779 commit 7928321

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
uses: JamesIves/github-pages-deploy-action@v4
2626
with:
2727
branch: gh-pages
28+
clean: true # Clean only if on the main branch
2829
folder: docs
2930
target-folder: ${{ github.ref == 'refs/heads/main' && 'docs/index.html' || '' }} # Deploy to docs/index.html only if on main
30-
clean: true # Clean only if on the main branch
31+

0 commit comments

Comments
 (0)