Update an Environment Variable and Redeploy
A 3-step recipe with Zuplo. We can help you get access.
Recipe · 3 steps
Update an Environment Variable and Redeploy
with Zuplo · Deployment Orchestration
Update a variable value, find the deployment, and redeploy it.
- Patch the value of the existing environment variable.
- List the project's deployments to find the live deployment.
- Redeploy the deployment so it picks up the updated variable value.
What you'll need to have ready
- accountName: The Zuplo account name (Settings > Project Information).
- apiKey: The Zuplo Developer API key, sent as a Bearer token.
- projectName: The name of the project.
- branchName: The source-control branch the variable lives in.
- variableName: The name of the variable to update.
- value: The new value of the variable.
For your developer
Arazzo workflow zuplo:update-variable-and-redeploy, 3 operations: VariablesService_update → DeploymentsService_list → DeployService_redeploy. Specs on APIs.io.