Skip to content

Default Deployment

The Default Deployment method deploys code from a branch of an application’s wpcomvip GitHub repository to a configured environment. Default Deployment is enabled for all environments of WordPress applications and Node.js applications by default. WordPress application environments can optionally enable the Custom Deployment method to deploy code that was developed outside of a wpcomvip GitHub repository.

When Default Deployment is enabled for an environment:

Detailed Build, Prepare, and Deployment logs for code deployments made with Default Deployments can be reviewed in the Deployments panel of the environment’s VIP Dashboard.

Access

Prerequisite

To access, enable, or disable Default Deployment, a user must have at minimum an Org admin role or an App admin role for that application.

To access the Default Deployments setting option:

  1. Navigate to the VIP Dashboard for an application.
  2. Select an environment from the dropdown located at the upper left of the dashboard.
  3. Select “Code” from the sidebar navigation at the left of the screen.
  4. Select “Repository Management” from the navigation submenu.

Enable Default Deployment

Within the “Repository Management” panel of the VIP Dashboard:

  1. Select the radio button for the option labeled “Default Deployment“.
  2. Review the value that populates the field labeled “Branch Name“. Confirm or update the value to the name of the branch of the application’s wpcomvip GitHub repository that should deploy to the environment.
  3. Select the button labeled “Save and Deploy“.

Successfully enabling Default Deployment will trigger a code deployment to the environment from the configured branch.

Last updated: July 11, 2024

Relevant to

  • WordPress