Skip to content

Commit

Permalink
ci: fix doc workflow on schedule
Browse files Browse the repository at this point in the history
Build phase was skipped, we were checking for file changes which will
not have any results on a scheduled event.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif authored and stephanosio committed Mar 4, 2024
1 parent 95084e5 commit 72a17b6
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 @@ -54,7 +54,9 @@ jobs:
doc-build-html:
name: "Documentation Build (HTML)"
needs: [doc-file-check]
if: github.repository_owner == 'zephyrproject-rtos' && needs.doc-file-check.outputs.file_check == 'true'
if: >
github.repository_owner == 'zephyrproject-rtos' &&
( needs.doc-file-check.outputs.file_check == 'true' || github.event_name != 'pull_request' )
runs-on: zephyr-runner-linux-x64-4xlarge
timeout-minutes: 45
concurrency:
Expand Down Expand Up @@ -169,6 +171,7 @@ jobs:

doc-build-pdf:
name: "Documentation Build (PDF)"
needs: [doc-file-check]
if: |
github.event_name != 'pull_request' &&
github.repository_owner == 'zephyrproject-rtos'
Expand Down

0 comments on commit 72a17b6

Please sign in to comment.