From bc861ea08668a84046ed1497cc6915cb3b99406c Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Thu, 23 Nov 2023 23:55:34 -0800 Subject: 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 Signed-off-by: Arthur Zamarin --- .github/workflows/doc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 776871b9..a18aecb5 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -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 }} -- cgit v1.2.3-65-gdbad