If you’re running deployments server side then my guess is that using deployments could save you a lot of trouble. The only caveat is that deployments don’t support inline programs. You need to specify a git repo with a branch and optionally a commit. You can set environment variables on the deployment to customize runtime behavior as well.