Skip to content

Commit 4f3b250

Browse files
authored
Merge pull request #733 from paulRbr/allow-overlay-flag-on-directory-deploy
fix(deploy): allow --overlay flags on directory deployments
2 parents 5608001 + ce3b588 commit 4f3b250

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/commands/deploy.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ ${chalk.dim('$ bump deploy FILE --dry-run --doc <doc_slug> --token <your_doc_tok
7878
filenamePattern: string,
7979
documentationName: string | undefined,
8080
branch: string | undefined,
81+
overlays?: string[] | undefined,
8182
): Promise<void> {
8283
const definitionDirectory = new DefinitionDirectory(dir, filenamePattern)
8384

@@ -125,6 +126,7 @@ ${chalk.dim('$ bump deploy FILE --dry-run --doc <doc_slug> --token <your_doc_tok
125126
autoCreate,
126127
definition.slug || documentationName,
127128
branch,
129+
overlays,
128130
)
129131
})
130132
} else {
@@ -233,6 +235,7 @@ ${chalk.dim('$ bump deploy FILE --dry-run --doc <doc_slug> --token <your_doc_tok
233235
filenamePattern,
234236
documentationName,
235237
branch,
238+
overlay,
236239
)
237240
} else {
238241
throw new CLIError('Missing required flag --hub when deploying an entire directory')

0 commit comments

Comments
 (0)