Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c17c9 commit a8ab026Copy full SHA for a8ab026
.github/workflows/build.yml
@@ -25,6 +25,5 @@ jobs:
25
uses: JamesIves/github-pages-deploy-action@v4
26
with:
27
branch: gh-pages
28
+ clean: true # Clean only if on the main branch
29
folder: .
- 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