Skip to content

Commit c1af109

Browse files
committed
feat: update file upload access level to public in index.ts
1 parent c2e6eb2 commit c1af109

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ async function run(): Promise<void> {
4747

4848
// Upload the file to Vercel Blob storage
4949
// The put() function handles the actual upload and returns metadata about the uploaded blob
50-
const result = await put(destinationPath, fileStream);
50+
const result = await put(destinationPath, fileStream, {
51+
access: 'public'
52+
});
5153

5254
// Log successful upload and provide the blob URL
5355
core.info(`File uploaded successfully to ${result.url}`);

0 commit comments

Comments
 (0)