Skip to content

Commit 33aca15

Browse files
authored
[CI] Do not deploy pages in repo forks (#665)
1 parent 42f344a commit 33aca15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
name: scoreboard
104104
path: ./build/scoreboard/html/
105105
deploy-pages:
106-
if: github.ref == 'refs/heads/master'
106+
if: ${{ !github.event.repository.fork && github.ref == 'refs/heads/master' }}
107107
needs:
108108
- build-sphinx
109109
- build-scoreboard

0 commit comments

Comments
 (0)