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 stagingFlags
| 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.