Skip to content

Commit 68c5627

Browse files
committed
CI: Try different workflow conditional
Whee Signed-off-by: David Brown <[email protected]>
1 parent 8191820 commit 68c5627

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,16 @@ jobs:
6666
name: Publish Rust Documentation
6767
needs: generate-docs
6868
runs-on: ubuntu-latest
69-
# if: |
70-
# github.event.workflow_run.event == 'pull_request' &&
71-
# github.event.workflow_run.conclusion == 'success' &&
72-
# github.repository == 'zephyrproject-rtos/zephyr-lang-rust'
69+
if: |
70+
github.event_name == 'pull_request' &&
71+
github.repository == 'zephyr-projectr-rtos/zephyr-lang-rust'
7372
7473
steps:
75-
- name: Show github conext
76-
env:
77-
GITHUB_CONTEXT: ${{ toJson(github) }}
78-
run: |
79-
echo "$GITHUB_CONTEXT" | jq .
74+
# - name: Show github conext
75+
# env:
76+
# GITHUB_CONTEXT: ${{ toJson(github) }}
77+
# run: |
78+
# echo "$GITHUB_CONTEXT" | jq .
8079

8180
- name: Download documentation artifact
8281
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)