Skip to content

Commit 101d0b9

Browse files
committed
Fix preview export destination
1 parent cf33953 commit 101d0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/action/ActionRunnerContainer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export class ActionRunnerContainer extends Container {
381381
break;
382382
case 'internal/export_preview':
383383
{
384-
const previewOutput = `${process.env.VOLUME_PREVIEW}/${driveId}/_manual`;
384+
const previewOutput = `${process.env.VOLUME_PREVIEW}/${driveId}` + (this.userConfigService.config.hugo_theme?.id ? `/${this.userConfigService.config.hugo_theme?.id}` : '/_manual');
385385
await container.export('/site/public', previewOutput);
386386
}
387387
break;

0 commit comments

Comments
 (0)