okteto help preview deploy

Deploy a preview environment

Options

NameDescription
--loglevel, -l <loglevel>Amount of information outputted (debug, info, warn, error)
--output, -o <output>Output format (tty, plain, json)
--branch, -b <branch>The branch to deploy (defaults to the current branch)
--file, -f <file>Relative path within the repository to the manifest file (default to okteto-pipeline.yaml or .okteto/okteto-pipeline.yaml)
--filename <filename>Relative path within the repository to the manifest file (default to okteto-pipeline.yaml or .okteto/okteto-pipeline.yaml)
--repository, -r <repository>The repository to deploy (defaults to the current repository)
--scope, -s <scope>The scope of preview environment to create. Accepted values are ['personal', 'global']
--sourceUrl <sourceUrl>The URL of the original pull/merge request
--timeout, -t <timeout>The length of time to wait for completion, zero means never. Any other values should contain a corresponding time unit e.g. 1s, 2m, 3h
--var, -v <var>
  • Repeatable ♾
--wait, -wWait until the preview environment deployment finishes (defaults to false)
--help, -hHelp for deploy