Redeploy via API after changing env variables? #252
-
Hey there, I understand from the docs that after an env var has been changed, the project will need to be redeployed to utilize it. Is there a way to trigger a redeploy of a non git-backed project via API? I could read the previous deployment via API and then deploy the same set of files, but I was wondering if that's built in at all? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unfortunately, there is no built-in way trigger a redeploy of a non git-backed project via the API. In the dashboard, a re-deploy just refetches that same source at that commit, which is why it is not possible to redeploy a non git-backed Deployment from the dashboard. |
Beta Was this translation helpful? Give feedback.
Unfortunately, there is no built-in way trigger a redeploy of a non git-backed project via the API.
In the dashboard, a re-deploy just refetches that same source at that commit, which is why it is not possible to redeploy a non git-backed Deployment from the dashboard.