Skip to content

Commit c37c29e

Browse files
committed
updated action
1 parent 51af8e3 commit c37c29e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/daily-build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ jobs:
6161
fi
6262
6363
- name: Trigger downstream workflow (optional)
64-
uses: './.github/workflows/publish.yml'
64+
uses: actions/github-script@v6
6565
if: ${{ steps.log_result.outputs.trigger_next_workflow }}
6666
with:
67-
ref: ${{ github.ref }}
67+
script: |
68+
github.actions.createWorkflowDispatch({
69+
owner: 'CGNS',
70+
repo: 'cgns.github.io ',
71+
workflow_id: 'publish.yml',
72+
ref: ${{ github.ref }}
73+
})

0 commit comments

Comments
 (0)