Skip to content

Conversation

@ConsoleCatzirl
Copy link
Member

When triggering jobs with workflow_run the default git ref to fetch is the default branch, causing all deploys to use the dev branch. Override the default ref with the name of the environment in order to deploy from the corresponding branch.

https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflow_run

When triggering jobs with `workflow_run` the default git ref to fetch is
the default branch, causing all deploys to use the `dev` branch. Override
the default ref with the name of the environment in order to deploy from
the corresponding branch.

https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflow_run
@ConsoleCatzirl ConsoleCatzirl requested review from a team as code owners January 10, 2025 23:53
@ConsoleCatzirl ConsoleCatzirl merged commit 9ae3863 into Sage-Bionetworks-IT:main Jan 11, 2025
4 checks passed
@ConsoleCatzirl ConsoleCatzirl deleted the fix-deploy branch January 11, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants