ci: doc-publish: fix run condition syntax
To restrict the job to the upstream repository a new `if` entry was added, however, another `if` was already present (violates yaml). Combined the conditions into a single expression. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
963d05bd52
commit
4ae9fb6ce5
1 changed files with 3 additions and 2 deletions
5
.github/workflows/doc-publish.yml
vendored
5
.github/workflows/doc-publish.yml
vendored
|
@ -19,8 +19,9 @@ jobs:
|
|||
doc-publish:
|
||||
name: Publish Documentation
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
if: github.repository == 'zephyrproject-rtos/zephyr'
|
||||
if: |
|
||||
github.event.workflow_run.conclusion == 'success' &&
|
||||
github.repository == 'zephyrproject-rtos/zephyr'
|
||||
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue