deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

API to programmatically set git repo

Open tchief opened this issue 3 years ago • 0 comments

Is there a way to create a project with git repo? Can I pass it to POST https://dash.deno.com/_api/projects same way I pass envVars?

{
  "name": "beautiful-name-11",
  "organizationId": "00000000-0000-0000-0000-000000000000",
  "envVars": {
    "SECRET": "123"
  },
  "git": {
    "repository": {
      "id": 123456,
      "owner": "jane",
      "name": "cat"
    },
    "entrypoint": "/mod.ts",
    "productionBranch": "main"
  }
}

Can I update git repo similar to envVars from #246?

tchief avatar Jul 26 '22 16:07 tchief