Skip to content

Add a GitHub environment

This section shows you how to set up the GitHub environment.

What is a GitHub environment?

GitHub environments store secrets unique to the environment. It also allows you to define deployment protection rules, such as requiring a manual approval before deployment.

Step 1: Create environment

Go to your application repository and navigate to Settings > Environments and click on New environment.

Name

<app_env>-ecr (for example pirates-dev-ecr)