mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 20:17:44 +01:00
The GitLab CI examples used `$CI_ENVIRONMENT_SLUG` for defining the environment names of the deploy jobs. But this variable is actually the OUTPUT of setting the environment name, thus, it tries to reference itself, but does not exist in that moment. The correct way to set this is to use `$CI_COMMIT_REF_NAME` as based on the documentation of GitLab's dynamic environments.