project upload
Package the project directory and upload it as a new project version.
cycle project upload [dir] [-n <version-name>] [-r | -c]Arguments:
dir: Project directory. If omitted, the CLI searches up from the current directory through parent directories for the nearest project manifest.
Options:
-n,--version-name: Version name (generated if omitted)-r,--rebuild: Re-run the build script on top of the previous build image, even if nothing changed.-c,--clean: Discard all cached build layers and start from a fresh base image.
--rebuild and --clean cannot be used together.
Volumes are linked from the project manifest (volumes field in .cycleswap/manifest.toml), not from CLI flags.
Examples:
cycle project upload
cycle project upload ./my-experiment -n v1.0
cycle project upload --clean