Skip to content

Commit f99b89a

Browse files
authored
Update build.yml
1 parent 3b7a8a0 commit f99b89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626
with:
2727
branch: gh-pages
2828
folder: docs
29-
target-folder: ${{ github.ref == 'refs/heads/main'|| '' }} # Deploy to docs/index.html only if on main
29+
target-folder: ${{ github.ref == 'refs/heads/main' && 'docs/index.html' || '' }} # Deploy to docs/index.html only if on main
3030
clean: docs # Clean only if on the main branch

0 commit comments

Comments
 (0)