GitLab

GitLab CI/CD: 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.

YAML.gitlab-ci.yml
image: node:24 stages: - deploy deploy: stage: deploy script: - npm install - npx zuplo deploy --api-key "$ZUPLO_API_KEY" only: - main

Store ZUPLO_API_KEY in Settings > CI/CD > Variables.

Next Steps

Last modified on