[CI/CD] Check owner of repo before running documentaton GH action
If a fork is running GH actions, do not create the static documentation and try to push to the warewulf documentation repo. Signed-off-by: Michael L. Young <myoung@ciq.co>
This commit is contained in:
1
.github/workflows/documentation.yml
vendored
1
.github/workflows/documentation.yml
vendored
@@ -6,6 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
if: ${{ github.repository_owner == 'hcpng' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user