WordPress hosting
Deployments

Deployments

Define deployment, its types and typical deployment process

Deployment refers to the process of releasing environment components (codebase, database, media library) to an environment, effectively making them available for use within the WordPress instance associated with that environment.

Deployment types

SiteBox offers several deployment types, each designed for specific situations:

  • Deployment – triggered from the Dashboard within the environment scope. Currently, it doesn't expose any settings and essentially fetches the latest codebase from a branch of the git repository into the WordPress instance.
  • Snapshot Restore – this process results in a deployment to update the database and/or media library using an existing snapshot.

Deployment process

The deployment process encompasses three major steps, each focusing on a specific environment component:

  1. The codebase is transferred from a git repository or a ZIP package (the ZIP package is typically the output of CI processing) to the actual container where the WordPress instance resides.
  2. The database is dynamically linked to the WordPress instance, and changes are applied if specified in the deployment settings.
  3. The media library is dynamically attached as a filesystem to the WordPress instance, and changes are implemented if specified in the deployment settings.

In addition to these primary steps, the deployment process integrates several secondary functionalities, such as:

  • updating the WordPress version according to environment settings,
  • adjusting the PHP version based on environment settings,
  • modifying the git branch as per environment settings.