Skip to content

Commit 131a10d

Browse files
authored
add random suffix to uploaded blob (#2349)
1 parent a540e44 commit 131a10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-and-score-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ async function fetchLatestData() {
488488
async function uploadToStore(fileContent: string) {
489489
console.log('⬆️ Uploading data blob to the store');
490490
try {
491-
await put('data.json', fileContent, { access: 'public' });
491+
await put('data.json', fileContent, { access: 'public', addRandomSuffix: true });
492492
} catch (error) {
493493
if (error instanceof BlobAccessError) {
494494
console.error('❌ Cannot access the blob store, aborting!');

0 commit comments

Comments
 (0)