Skip to content

Commit a04a37f

Browse files
committed
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>
1 parent 04c6a0d commit a04a37f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818

1919
jobs:
2020
build:
21+
if: github.repository == 'redhat-performance/tuned'
2122
runs-on: ubuntu-latest
2223
steps:
2324
- name: Checkout the master branch
@@ -39,6 +40,7 @@ jobs:
3940
uses: actions/upload-pages-artifact@v4
4041

4142
deploy:
43+
if: github.repository == 'redhat-performance/tuned'
4244
environment:
4345
name: github-pages
4446
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)