set-variables
Configure environment variables for active environments on Railway. Specify workspace path, key-value pairs, and optional parameters like service, environment, and deployment behavior.
Instructions
Set environment variables for the active environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environment | No | The environment to set variables for (optional) | |
service | No | The service to set variables for (optional) | |
skipDeploys | No | Skip triggering deploys when setting variables (optional) | |
variables | Yes | Array of '{key}={value}' environment variable pairs to set | |
workspacePath | Yes | The path to the workspace to set variables in |