Set an Environment Variable and Redeploy
A 3-step recipe with Zuplo. We can help you get access.
Recipe · 3 steps
Set an Environment Variable and Redeploy
with Zuplo · Deployment Orchestration
Create a variable, find the deployment, and redeploy it.
- Create the environment variable in the project branch.
- List the project's deployments to find the live deployment.
- Redeploy the deployment so it picks up the newly created environment variable.
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 to create the variable in.
- variableName: The variable name in SCREAMING_SNAKE_CASE.
- isSecret: Whether the variable value is a secret.
- value: The value of the variable.
For your developer
Arazzo workflow zuplo:set-variable-and-redeploy, 3 operations: VariablesService_create → DeploymentsService_list → DeployService_redeploy. Specs on APIs.io.