Skip to content

MAIN and DEV branch using GitHub workflow vs. Production and Development environment #1159

Answered by jasontaylordev
southernsun asked this question in Q&A
Discussion options

You must be logged in to vote

Great question! The current GitHub workflow setup in the template uses a trunk-based branching strategy, which is why there's only a deployment for the main branch. In trunk-based development, the main branch serves as the central source of truth, and features are typically developed in short-lived branches that are frequently merged back into the main branch. This approach aims to reduce integration issues and streamline the development process. You can read more about trunk-based development and its benefits here.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@southernsun
Comment options

@jasontaylordev
Comment options

@southernsun
Comment options

@jasontaylordev
Comment options

Answer selected by southernsun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants