Skip to content

Commit

Permalink
updated action
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Jan 7, 2025
1 parent 51af8e3 commit c37c29e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ jobs:
fi
- name: Trigger downstream workflow (optional)
uses: './.github/workflows/publish.yml'
uses: actions/github-script@v6
if: ${{ steps.log_result.outputs.trigger_next_workflow }}
with:
ref: ${{ github.ref }}
script: |
github.actions.createWorkflowDispatch({
owner: 'CGNS',
repo: 'cgns.github.io ',
workflow_id: 'publish.yml',
ref: ${{ github.ref }}
})

0 comments on commit c37c29e

Please sign in to comment.