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 20
- 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