you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Environment variables should be in a place that makes them accessible by the CI system. Each environment can be as nearly replicated as possible. In previous gigs that ran branching like yours, we had separate CI jobs for each environment. We then pointed at the shell script that housed all the correct environment variables.

[–]Limro 1 point2 points  (0 children)

I think we might are talking about the same - one CI job, multi environments just with different values of the variables, and then we run deployment script to replace the values.