Skip to content

Commit

Permalink
ci: github: Only build docs for zephyrproject-rtos GH org
Browse files Browse the repository at this point in the history
As documentation is now built using one of our self-hosted runners,
have the GitHub action only run for the upstream repo, not for potential
forks.

(cherry picked from commit b1c2075)

Original-Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
GitOrigin-RevId: b1c2075
Change-Id: Ic2f7d99d823b7d016a3ddcda0e58fc1e50967db4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4964726
Tested-by: Al Semjonovs <asemjonovs@google.com>
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
  • Loading branch information
kartben authored and Chromeos LUCI committed Oct 24, 2023
1 parent 8f24d67 commit e77fe34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ env:
jobs:
doc-build-html:
name: "Documentation Build (HTML)"
if: github.repository_owner == 'zephyrproject-rtos'
runs-on: zephyr-runner-linux-x64-4xlarge
timeout-minutes: 45
concurrency:
Expand Down Expand Up @@ -130,7 +131,9 @@ jobs:

doc-build-pdf:
name: "Documentation Build (PDF)"
if: github.event_name != 'pull_request'
if: |
github.event_name != 'pull_request' &&
github.repository_owner == 'zephyrproject-rtos'
runs-on: zephyr-runner-linux-x64-4xlarge
container: texlive/texlive:latest
timeout-minutes: 60
Expand Down

0 comments on commit e77fe34

Please sign in to comment.