Skip to content

Commit

Permalink
Test uploading build output to AWS using parallel threads (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md authored Jan 23, 2025
1 parent 1c05c46 commit 11931af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/scripts/s3_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ aws s3 sync ./out $BUCKET --delete
cd out

for file in $(find . -name '*.html' | sed 's|^\./||'); do
aws s3 cp ${file%} $BUCKET/${file%.*} --content-type 'text/html'
done
aws s3 cp ${file%} $BUCKET/${file%.*} --content-type 'text/html' &
done

wait

0 comments on commit 11931af

Please sign in to comment.