Skip to content

Commit 9e226be

Browse files
Adjust condition to work with master and main branches.
1 parent dae5dec commit 9e226be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-publish-kjs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
# If main branch update, deploy to gh-pages
2828
- name: Deploy
29-
if: github.ref == 'refs/heads/master'
29+
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
3030
uses: JamesIves/[email protected]
3131
with:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)