A Vercel integration that automatically deploys your app to IBM Cloud Code Engine every time Vercel creates a new deployment.
ibmcloudvercel acts as a bridge between Vercel and IBM Cloud. It runs a small HTTP service that listens for Vercel webhook events. When Vercel creates a new deployment, the integration triggers a build and deploy job on IBM Cloud Code Engine — automatically, with no manual steps.
deployment.created event triggers a Code Engine build.ibmcloudvercel.yml file controls region, scaling, CPU, memory, and more.git clone https://github.com/connor-leung/ibmcloudvercel
cd ibmcloudvercel
pip3 install -r requirements.txt
cp ibmcloudvercel.example.yml ibmcloudvercel.yml
# Required
IBM_CODE_ENGINE_PROJECT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
IBM_COS_BUCKET_NAME=my-bucket
IBM_CLOUD_REGION=us-south
# Choose one auth method (OIDC recommended)
IBM_TRUSTED_PROFILE_ID=Profile-xxxx # OIDC
IBM_CLOUD_API_KEY=your-api-key # fallback
# Webhook secret (from Vercel integration settings)
VERCEL_WEBHOOK_SECRET=your-secret
/integration/webhook.Drop this file in your repo root. All values support ${'{'}ENV_VAR{'}'} and ${'{'}ENV_VAR:-default{'}'} syntax.
ibm_cloud:
region: "${IBM_CLOUD_REGION:-us-south}"
project_id: "${IBM_CODE_ENGINE_PROJECT_ID}"
cos_bucket: "${IBM_COS_BUCKET_NAME}"
# OIDC auth (recommended)
trusted_profile_id: "${IBM_TRUSTED_PROFILE_ID}"
scaling:
min_scale: 0 # scale to zero when idle
max_scale: 10
cpu: "0.25"
memory: "0.5G"
port: 8080
concurrency: 100
source_dir: "."
cleanup_artifacts: true
Two methods are supported. OIDC is recommended because it uses short-lived tokens with no static secrets to manage.
IBM_TRUSTED_PROFILE_ID. No static secrets, no rotation headaches.
IBM_CLOUD_API_KEY in Vercel environment variables.
Used as a fallback when trusted_profile_id is not configured.