Bitbucket

Bitbucket 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.

YAMLbitbucket-pipelines.yml
image: node:24 pipelines: branches: main: - step: name: Deploy to Zuplo script: - npm install - npx zuplo deploy --api-key "$ZUPLO_API_KEY"

Store ZUPLO_API_KEY in Repository settings > Pipelines > Repository variables.

Next Steps

Last modified on