Skip to content

Commit

Permalink
fix: fixes an issue where the provided --dir flag was not used (#6001)
Browse files Browse the repository at this point in the history
Fixes #6000
  • Loading branch information
lukasholzer authored Sep 18, 2023
1 parent da54676 commit 8c537ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/deploy/deploy.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const getDeployFolder = async ({ command, config, options, site, siteData }) =>
// - in mono repositories this will be the root of the jsWorkspace
if (options.dir) {
deployFolder = command.workspacePackage
? resolve(command.jsWorkspaceRoot || site.root)
? resolve(command.jsWorkspaceRoot || site.root, options.dir)
: resolve(command.workingDir, options.dir)
} else if (config?.build?.publish) {
deployFolder = resolve(site.root, config.build.publish)
Expand Down

1 comment on commit 8c537ad

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,365
  • Package size: 366 MB

Please sign in to comment.