Skip to content

ezgh deploy validate

Check an EZGHDeploy file.

Updated View as Markdown
ezgh deploy validate [file] [flags]

Check an EZGHDeploy file: the checkout’s, or the file named. Every problem is printed with its place in the file, the reason and an example that would be accepted; the exit code is 1 when there is one. The file is checked here, without a request.

With --environment, the environment must be in the file. Whether it may deploy its branch into its project is checked by Deploy when the stack is registered and on each push.

Part of ezgh deploy.

Examples

ezgh deploy validate
ezgh deploy validate --environment staging

Flags

Flag Type Default Description
--environment string also check this environment is in the file

Inherited from parent commands:

Flag Type Default Description
--dir string . the repository’s checkout (any directory inside it)
--json boolean print JSON, as -o json does

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close