Update a project's Git auto-deploy settings
Changed onFull replace of the project's Git auto-deploy settings: what a push to the connected repo's production branch deploys.
Connecting a repository sets auto_deploy_enabled and deploy_functions to true for a project that has never called this endpoint, so a push deploys without any further setup. Once these settings have been saved here they are the project's own: connecting, rebinding, disconnecting and reconnecting all leave them untouched, including when they were saved before any repository was connected. Frontend settings are off until set here; the frontend need not exist when they are saved, since frontend_name is resolved at deploy time.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Request body
Full replace of a project's Git auto-deploy settings.
Frontend to deploy on push. Omit or empty to deploy no frontend.
App root the frontend builds from. Requires frontend_name; omit for the repo root.
Response
The project's updated Git auto-deploy settings
A project's GitHub auto-deploy settings: what a push to the connected repo's production branch deploys. All settings are default-off.
Whether a production-branch push triggers a deployment.
Whether the repo's functions are deployed on push.
Name of the frontend to build and deploy on push. Omitted when no frontend is deployed. Resolved at deploy time; need not exist yet.
App root (subdirectory) the frontend builds from. Omitted for the repo root.
When the settings were last saved, or last changed by connecting a repository. Other changes to the project leave it alone. Settings a connection turned on before Volcano began tracking this report the project's last change before then; settings never saved or changed report when the project was created.
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API
- info
- breaking
added the new path request parameter
id - breaking
the response's body type changed from no type to
objectfor status
17 more changes in this revision
- breaking