Skip to content

Commit 0713c53

Browse files
committed
ci: disable deployment when not on main branch
1 parent 0ce3063 commit 0713c53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/website.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646

4747
deploy:
4848
name: Deploy website to GitHub Pages
49-
# if: >
50-
# github.ref == 'refs/heads/main' && (github.event_name ==
51-
# 'workflow_dispatch' || github.event_name == 'push')
49+
if: >
50+
github.ref == 'refs/heads/main' && (github.event_name ==
51+
'workflow_dispatch' || github.event_name == 'push')
5252
needs: build
5353
runs-on: ubuntu-latest
5454

0 commit comments

Comments
 (0)