Azure DevOps
Azure Pipelines: Basic Deployment
- Applies to
- Gatewayruntime for API, AI, and MCP gateways
- Hosting
- Managed EdgeManaged DedicatedSelf-HostedDiffers
1 difference by hosting option
Self-Hosted
Add --self-hosted-endpoint with your management API hostname to each zuplo deploy command so it targets your cluster. See zuplo deploy.
The simplest pipeline deploys your API to Zuplo on every push to main.
azure-pipelines.yml
This pipeline:
- Triggers on pushes to the
mainbranch - Sets up Node.js 24
- Installs dependencies
- Deploys to Zuplo using the branch name as the environment name
Adding the API Key
Add ZUPLO_API_KEY as a pipeline variable:
- Edit your pipeline in Azure DevOps
- Click Variables
- Add
ZUPLO_API_KEYwith your API key - Check Keep this value secret
Or use a variable group for sharing across pipelines.
Next Steps
- Add testing after deployment
- Set up PR preview environments
Last modified on