Skip to content

Commit

Permalink
fix: deploy commands add server plugin should add metaName (#5859)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiveMe-A-Name committed Jun 21, 2024
1 parent f8ba62c commit a7ee8e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/solutions/app-tools/src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ export const deploy = async (
options: any,
) => {
const hookRunners = api.useHookRunners();

const { metaName } = api.useAppContext();

// deploy command need get all plugins
await getServerPlugins(api);
await getServerPlugins(api, metaName);

await hookRunners.beforeDeploy(options);
await hookRunners.deploy(options);
Expand Down

0 comments on commit a7ee8e0

Please sign in to comment.