After spending the day trying various ways to work around this, I’ve found a solution – and uncovered a very annoying bug with the appservices cli

The workaround is that I basically have had to completely drop automatic Github deployment and environment values and do everything via Github actions. This is mildly annoying because it means I can’t ever really make use of the Atlas UI tools to make a small change.

However, the annoying bug I discovered is that if you have “Automatic deployments enabled” on your project, then it will always try to build from the raw Github repo even if you’re performing Github actions and calling the appservices cli locally.

In my example, I was using github actions to modify my root_config.json file and then using appservices push to deploy the modified app. However, since “Automatic deployments enabled” was activated from my account, even when I specificed appservices push --local to tell it to push my locally modified project, the system would still just pull the raw, unaltered project from Github (and then it would compile with an error or incorrect values).

So my only solution for using Github actions was to completely go all in on it, and not use any of the Github integration tools. This was super confusing for me, hope it helps someone else.