When to use
- Deploy a data ingestion workflow (document embedding pipeline)
- After creating or modifying data ingestion configuration in
config.ts - The use case has a
getDataIngestionConfig()export inconfig.ts
Prerequisites
codikaCLI installed and authenticated- A use case folder with
config.tsexportinggetDataIngestionConfig()and adata-ingestion/folder with exactly one workflow JSON file - A project to deploy to (via
project.json)
Use case folder structure
Command
Arguments
Options
What happens on deploy
config.tsis loaded —getDataIngestionConfig()is read- The CLI auto-discovers the single
.jsonfile indata-ingestion/ - Project ID is resolved from
--project-id>project.json - Configuration is sent to the platform
- On success:
version.jsonis updated with the newdataIngestionVersion- Deployment is archived in
deployments/{projectId}/data-ingestion/{apiVersion}/ project-info.jsonis updated with the version mappingproject.jsonis updated withdataIngestionDeploymentsmap