Add environment keyword to deploy job in Rails template project
See more in Add `environment` to gitlab project templates (&8588)
Implementation guide
-
Add the environment keyword to the doploy-job
job in https://gitlab.com/gitlab-org/project-templates/rails/-/blob/master/.gitlab-ci.yml#L28
deploy-job:
environment: production
-
Follow https://docs.gitlab.com/ee/development/project_templates.html#create-a-merge-request-with-vendor-details (you only need steps 1 & 4-6 since the project should already be vendored)
Edited by Vladimir Shushlin