aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2023-11-23 23:55:34 -0800
committerArthur Zamarin <arthurzam@gentoo.org>2023-11-24 17:17:21 +0200
commitbc861ea08668a84046ed1497cc6915cb3b99406c (patch)
treeb2a5ada2c3c1028350021e09700d772f890bc379 /.github
parentpmaint eclass: add better invocation with output filename format (diff)
downloadpkgcore-bc861ea08668a84046ed1497cc6915cb3b99406c.tar.gz
pkgcore-bc861ea08668a84046ed1497cc6915cb3b99406c.tar.bz2
pkgcore-bc861ea08668a84046ed1497cc6915cb3b99406c.zip
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> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/doc.yml1
1 files changed, 1 insertions, 0 deletions
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 }}