Skip to content

Commit

Permalink
update trigger next workflow, syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Jan 10, 2025
1 parent 52d7c4a commit 05ff6b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
echo "HAS_COMMITS=true" >> $GITHUB_OUTPUT
fi
- name: Log result and trigger another workflow 2
- name: Log result and trigger another workflow
id: log_result
run: |
if [[ "${{ steps.has_commits.outputs.HAS_COMMITS }}" == "true" ]]; then
Expand All @@ -69,6 +69,5 @@ jobs:
await github.rest.actions.createWorkflowDispatch({
owner: 'CGNS',
repo: 'cgns.github.io',
workflow_id: 'publish.yml',
ref: master
workflow_id: 'publish.yml'
})

0 comments on commit 05ff6b8

Please sign in to comment.