Skip to content

Add a GitHub environment

Deprecated

A new and improved CI/CD rig is coming soon. Planning to set up a new CI/CD pipeline? Reach out to us in team Utviklerflyt and we'll get you started with the latest setup. We expect to publish updated documentation in March.

This must be done to be aligned with the IAM permissions created after enabling IamForCicd during setup of IAM roles

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 GitHub application repository and navigate to Settings > Environments and click on New environment.

Name

<Environment>-<AppName>-ecr (for example pirates-dev-app-too-tikki-ecr)

Next step

Add a GitHub workflow file to the application repository.