Skip to content

Commit

Permalink
fix: check postbuild only if not cloud config (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
raiindev authored Apr 9, 2024
1 parent 1f53eb3 commit df792cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-docusaurus-v3/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default function OramaPluginDocusaurus(ctx: {
},

async postBuild({ outDir }) {
await cp(indexPath(ctx.generatedFilesDir, "current"), indexPath(outDir, "current"))
!options.cloud && await cp(indexPath(ctx.generatedFilesDir, "current"), indexPath(outDir, "current"))
}
}
}
Expand Down

0 comments on commit df792cc

Please sign in to comment.