Description
Description
CONVEX_DEPLOY_KEY
does not seem to provide the necessary authorization to run convex env set
. There does not seem to be a way to set environment variables when running on non-user machines (e.g. CI machines). This makes it impossible to dynamically set environment variables.
Even if CONVEX_DEPLOY_KEY
provides the necessary authorization to run convex env set
, there are still race conditions in which a deployment is successful, but the environment variables have not yet been set.
I'm looking for any solution where a non-user machine can run convex deploy
with the ability to dynamically configure environment variables. I saw that convex deploy
has the --env-file
argument, but this seems to provide the convex deploy
command with the environment variables to run the deploy, and not the environment variables to mount onto the deployment.