gitpod.v1.EnvironmentAutomationService
UpsertAutomationsFile
Upserts the automations file for the given environment.
Use this method to:
- Configure environment automations
- Update automation settings
- Manage automation files
Examples
-
Update automations file:
Updates or creates the automations configuration.
environmentId: "07e03a28-65a5-4d98-b532-8ea67b188048" automationsFile: services: web-server: name: "Web Server" description: "Development web server" commands: start: "npm run dev" ready: "curl -s http://localhost:3000" triggeredBy: - postDevcontainerStart tasks: build: name: "Build Project" description: "Builds the project artifacts" command: "npm run build" triggeredBy: - postEnvironmentStart
post/gitpod.v1.EnvironmentAutomationService/UpsertAutomationsFile
Request body
Response
Success