1
0
Fork 0

actions: build docs only in the upstream repo (not in private forks)

This should stop contributors receiving the "deployment failed" e-mails.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2026-03-19 16:35:52 +01:00
parent 04c6a0dfba
commit ef78f21d51
No known key found for this signature in database
GPG key ID: D8E1C00E076E840B

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