Skip to content

Commit f558733

Browse files
author
Guen Prawiroatmodjo
committed
only build and publish docs if run on main
1 parent 644e621 commit f558733

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
environment:
5757
name: github-pages
5858
url: ${{ steps.deploy-pages.outputs.page_url }}
59+
if: github.ref == 'refs/heads/main'
5960
steps:
6061
- name: Checkout repo
6162
uses: actions/checkout@v4

0 commit comments

Comments
 (0)