Skip to content

Commit

Permalink
Invalidate package download data when the app is re-built
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrambeau committed Oct 7, 2023
1 parent 7e8e319 commit 162ad38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/tasks/build-webhook.task.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const { createTask } = require("../task-runner");
module.exports = createTask("daily-build-webhook", async context => {
await invalidateWebAppCacheByTag(context, 'all-projects');
await invalidateWebAppCacheByTag(context, 'project-details');
await invalidateWebAppCacheByTag(context, 'package-downloads');
await triggerWebAppBuild(context);
});

Expand Down

1 comment on commit 162ad38

@vercel
Copy link

@vercel vercel bot commented on 162ad38 Oct 7, 2023

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.