Skip to content

Commit

Permalink
clear
Browse files Browse the repository at this point in the history
  • Loading branch information
RusovDmitriy committed Dec 19, 2024
1 parent 1c3a73f commit 87bcc16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/cubejs-cli/src/command/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ export function configureDeployCommand(program: CommanderStatic) {
.description('Deploy project to Cube Cloud')
.option('--upload-env', 'Upload .env file to CubeCloud')
.option('--token <token>', 'Add auth token to CubeCloud')
.option('--directory [path]', 'Specify path to conf directory', './')
.action(
(options) => deploy({ directory: process.cwd(), ...options })
(options) => deploy({
...options,
directory: path.join(process.cwd(), options.directory)
})
.catch(e => displayError(e.stack || e))
)
.on('--help', () => {
Expand Down

0 comments on commit 87bcc16

Please sign in to comment.