1
0
Fork 0

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:
Jaroslav Škarvada 2026-03-23 17:50:39 +01:00 committed by GitHub
commit 6246185146
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}