We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5e5e78 commit 55f208bCopy full SHA for 55f208b
.github/workflows/build.yml
@@ -25,6 +25,6 @@ jobs:
25
uses: JamesIves/github-pages-deploy-action@v4
26
with:
27
branch: gh-pages
28
- folder: .
+ folder: docs
29
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
+ clean: ${{ github.ref == 'refs/heads/main' }} # Clean only if on the main branch
0 commit comments