Skip to content

Commit 39bdb39

Browse files
committed
update trigger next workflow, syntax
1 parent e4c551c commit 39bdb39

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/daily-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ jobs:
6262
fi
6363
6464
- name: Trigger downstream workflow (optional)
65-
uses: actions/github-script@v6
65+
uses: actions/github-script@v7
6666
if: success() && steps.log_result.outputs.trigger_next_workflow == 'true'
6767
with:
6868
script: |
6969
await github.rest.actions.createWorkflowDispatch({
70-
owner: context.repo.owner,
71-
repo: context.repo.name,
72-
workflow_id: 'publish.yml'
70+
owner: 'CGNS',
71+
repo: 'cgns.github.io',
72+
workflow_id: 'publish.yml',
73+
ref: 'develop'
7374
})

0 commit comments

Comments
 (0)