Skip to content

Commit 98d46a3

Browse files
committed
github: limit doc deploy to just pkgcore/pkgcore repository
For a proper fork/PR it's best to show things building properly, and a deploy will never succeed. Confirm docs build and skip the deploy for folks who've got forks. Signed-off-by: Brian Harring <ferringb@gmail.com>
1 parent e817c05 commit 98d46a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/doc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
path: build/sphinx/html
4545

4646
deploy:
47+
if: github.repository == 'pkgcore/pkgcore'
4748
environment:
4849
name: github-pages
4950
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)