Skip to content

Commit c20544f

Browse files
committed
fix: update file upload access level to public in index.js
1 parent c1af109 commit c20544f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29026,7 +29026,9 @@ async function run() {
2902629026
process.env.BLOB_READ_WRITE_TOKEN = token;
2902729027
// Upload the file to Vercel Blob storage
2902829028
// The put() function handles the actual upload and returns metadata about the uploaded blob
29029-
const result = await put(destinationPath, fileStream);
29029+
const result = await put(destinationPath, fileStream, {
29030+
access: 'public'
29031+
});
2903029032
// Log successful upload and provide the blob URL
2903129033
core.info(`File uploaded successfully to ${result.url}`);
2903229034
// Set the blob URL as an output that can be used by subsequent workflow steps

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)