Deploying branches
Each of an application’s VIP Platform environments can track its own specific branch of the application’s wpcomvip GitHub repository.
When Default Deployment is enabled for a WordPress or Node.js environment:
- The branch deploying to the environment can be updated in the Repository Management panel of the VIP Dashboard.
- Continuous integration and deployment (CI/CD) methods can be set up for a deploying branch.
- Incorporating a GitHub pull request flow with a review stage is strongly recommended for the branch that deploys to a production environment.
Branch protection rules
By default, all wpcomvip GitHub repositories are set up with basic branch protection rules. These include a rule to prevent a branch from being deleted, and a rule to prevent force-pushes for all non-Admin users. Only GitHub users with Admin permissions have the ability to modify the branch protections rules. For more information, review GitHub’s documentation on Managing a branch protection rule.
Last updated: June 25, 2024