Skip to content

Commit

Permalink
chore: update upload-build script
Browse files Browse the repository at this point in the history
  • Loading branch information
zamitto committed Jan 28, 2025
1 parent 36bd588 commit c8044f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/upload-build.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ fs.readdir(dist, async (err, files) => {
})
);

if (uploads.length > 0) {
for (const upload of uploads) {
await fetch(process.env.BUILD_WEBHOOK_URL, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
uploads,
upload,
branchName: process.env.BRANCH_NAME,
version: packageJson.version,
githubActor: process.env.GITHUB_ACTOR,
Expand Down

0 comments on commit c8044f6

Please sign in to comment.