Skip to content

Commit 1f9e179

Browse files
committed
Add push check
1 parent 4643e74 commit 1f9e179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/push_doc_changes_to_website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
doc_dispatch:
1111
runs-on: ubuntu-latest
12-
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
12+
if: ${{ (github.event.workflow_run.conclusion == 'success' && github.event_name == 'push') || github.event_name == 'workflow_dispatch' }}
1313
steps:
1414
- name: Set SSH key
1515
run: echo "$SSH_DEPLOY_KEY" > ssh_deploy_key.pem

0 commit comments

Comments
 (0)