Skip to content

Deploy to staging

Andrew Hosgood edited this page Sep 19, 2024 · 6 revisions

Code can be deployed to staging when all changes have been tested in the development environment and a release is ready to be cut.

Steps

  1. Run the Release to staging action on the main branch
  2. The deploy-staging.yml GitHub workflow is run

Way of working 2c drawio

Process

A deployment to the staging environment should:

  1. Delete the staging database
  2. Take a copy of the current production database and copy it to the staging environment
  3. Copy all the media from the production environment to the staging environment
  4. Boot up a copy of all the services
Clone this wiki locally