Skip to content

Commit cf42659

Browse files
committed
Only publish for main branch
1 parent 4c543e4 commit cf42659

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
7171
- name: Deploy to GH Pages 🚀
7272
uses: peaceiris/actions-gh-pages@v3
73+
if: ${{ github.ref == 'refs/heads/main' }}
7374
with:
7475
github_token: ${{ secrets.GITHUB_TOKEN }}
7576
publish_dir: build/graph

0 commit comments

Comments
 (0)