Skip to content

Multi-branch deployment #7852

Discussion options

You must be logged in to vote

Is that not possible in this case?

Depends on the backend, deployment solution you're using, and your plans, in general that's possible.
Gothic Modding Community uses a main branch for GitHub Pages and dev branch which is published on a custom domain on a VPS.

Please ignore the failing main branch badge 😅, there is a delay on the review of the dev branch so it wasn't merged back.

  • main workflow modifies the gh-pages branch, which is later deployed via GitHub Actions
  • dev workflow modifies the gh-dev-page branch, where a webhook detects the changes and the vps fetches the changes (that's my understanding of it, I'm not the maintainer of t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@opensource-coder909
Comment options

@kamilkrzyskow
Comment options

Answer selected by opensource-coder909
@opensource-coder909
Comment options

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