Question - How would you set environment variables in GitLab CI?
Answer -
When using variables there is no need to hard code values. In GitLab, CI/CD variables can be defined by going to Settings » CI/CD » Variables, or by simply defining them in the.gitlab-ci.yml file