Skip to content

3: Managing deployments to different environments in GitHub

Kevin Chant edited this page Jul 14, 2022 · 1 revision

You can manage deployments to multiple environments when you use workflows in GitHub. For example, you can make sure that an approval is required before a pipeline deploys to a production environment.

You can configure environment settings in GitHub to setup these different environments, as long as your repository is public or you are using GitHub Enterprise. Afterwards, you can specify required reviewers for each environment.

To specify these environments in GitHub Action workflows you specify the environment in the YAML code. As you can see in the 'Using an environment' section of the GitHub documentation.