Skip to content

Commit 559057d

Browse files
matteo-cristinojaromil
authored andcommitted
ci: deploy docs only when committing to main
1 parent 33a00da commit 559057d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
needs: test
6969
runs-on: ubuntu-latest
7070
name: Deploy
71+
if: github.ref == 'refs/heads/main'
7172
steps:
7273
- name: Deploy to GitHub Pages
7374
id: deployment

0 commit comments

Comments
 (0)