Skip to content

Commit

Permalink
Fix deploy success possibly not firing (#5533)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaHegde authored Aug 27, 2024
1 parent 3a2f719 commit 194bdd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-common/src/features/project/ProjectDeployer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ export class ProjectDeployer {
org: `${org}${i === 0 ? "" : "-" + i}`,
upload: true,
});
void behaviourEvent?.fireDeployEvent(
// wait for the telemetry to finish since the page will be redirected after a deploy success
await behaviourEvent?.fireDeployEvent(
BehaviourEventAction.DeploySuccess,
);
return resp.frontendUrl;
Expand Down

1 comment on commit 194bdd7

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Please sign in to comment.