angular-cli-ghpages icon indicating copy to clipboard operation
angular-cli-ghpages copied to clipboard

Wrong default value for `cname` in `schema.json`

Open JohannesHoppe opened this issue 2 years ago • 1 comments

Error: Property 'cname' does not match the schema. 'false' should be a 'string'.

Solved it by adding cname flag manually as github.com along with base-href.

Originally posted by @batbrain9392 in https://github.com/angular-schule/angular-cli-ghpages/issues/145#issuecomment-1050404723

see https://github.com/angular-schule/angular-cli-ghpages/blob/76753b0dcd66e4b09007c6dd4bf0615ebc8a488f/src/deploy/schema.json#L51-L55

JohannesHoppe avatar Jul 06 '22 21:07 JohannesHoppe

The typings here are indeed wrong, an empty string should do the trick.

JohannesHoppe avatar Jul 06 '22 21:07 JohannesHoppe