Skip to content

Commit

Permalink
github: limit doc deploy to just pkgcore/pkgcore repository
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ferringb committed Nov 24, 2023
1 parent e817c05 commit 98d46a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
path: build/sphinx/html

deploy:
if: github.repository == 'pkgcore/pkgcore'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 98d46a3

Please sign in to comment.