Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8ab026

Browse files
authored
Fix build
1 parent c4c17c9 commit a8ab026

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ 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: .
29-
target-folder: ${{ github.ref == 'refs/heads/main' && 'docs/index.html' || '' }} # Deploy to docs/index.html only if on main
30-
clean: ${{ github.ref == 'refs/heads/main' }} # Clean only if on the main branch

0 commit comments

Comments
 (0)