ci: fix doc workflow on schedule
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 <anas.nashif@intel.com>
This commit is contained in:
parent
95084e53e0
commit
72a17b6d88
5
.github/workflows/doc-build.yml
vendored
5
.github/workflows/doc-build.yml
vendored
|
@ -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:
|
||||
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue