sandias42S
Convex Community5mo ago
1 reply
sandias42

create deployment on existing project (platform api)

Howdy! Very excited about the new announcements.

I want to provision new dev deployments for existing projects using team access tokens. Here's what I found in the docs:

create_project docs say

Create a new project on a team and provision a dev or prod deployment
Not or, and- sounds like this can't be used for a new deployment on an existing project

create_deploy_key docs
only have a deployment_name parameter, which I infer to mean an existing deployment.

Based on my review of the openapi spec I think this feature must either be undocumented / missing from the spec or missing. Would appreciate a clarification on which it is, and request it be added if it doesn't exist!

(workaround I'll probably try is making a new project every time I need a new dev deployment... but this is sad for various reasons)
Create a new project on a team and provision a dev or prod deployment.
Create project | Convex Developer Hub
Create a deploy key like 'dev:happy-animal-123|ey...' which can be
Create deploy key | Convex Developer Hub
Was this page helpful?