capabilities.work

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.

  1. Create the environment variable in the project branch.
  2. List the project's deployments to find the live deployment.
  3. 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.