Skip to content

Commit 89c14e5

Browse files
author
Imran Momin
committed
option to pass the flag to create a new site
1 parent 3da8168 commit 89c14e5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/deploy/schema.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ export interface Schema {
55
netlifyToken?: string;
66
siteId?: string;
77
baseHref?: string;
8+
create?: boolean;
89
}

src/deploy/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
"baseHref": {
3030
"type": "string",
3131
"description": "This is an example how to override the workspace set of options. --- Base url for the application being built. Same as `ng build --base-href=/XXX/`."
32+
},
33+
"create": {
34+
"type": "boolean",
35+
"default": false,
36+
"description": "Creates the site if it does not exists"
3237
}
3338
}
3439
}

0 commit comments

Comments
 (0)