Merge pull request #839 from yarda/build-docs-only-in-master
actions: build docs only in the upstream repo (not in private forks)
This commit is contained in:
commit
6246185146
1 changed files with 2 additions and 0 deletions
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
|
|
@ -18,6 +18,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.repository == 'redhat-performance/tuned' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the master branch
|
||||
|
|
@ -39,6 +40,7 @@ jobs:
|
|||
uses: actions/upload-pages-artifact@v4
|
||||
|
||||
deploy:
|
||||
if: ${{ github.repository == 'redhat-performance/tuned' }}
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue