Skip to content

Commit 118f503

Browse files
committed
Run deploy job only for main
1 parent 0c459a5 commit 118f503

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868

6969
# Deployment job
7070
deploy:
71+
if: github.ref == 'refs/heads/main'
7172
environment:
7273
name: website
7374
url: 'https://contentmd.org'

0 commit comments

Comments
 (0)