Skip to content

Commit

Permalink
Make S3 uploads public read
Browse files Browse the repository at this point in the history
  • Loading branch information
hancush committed Oct 25, 2021
1 parent 5c5735e commit 443ff63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ clean :
find merged -type f -not -name .gitkeep -delete

upload_% : merged/%.pdf
aws s3 cp $< s3://$$S3_BUCKET_NAME
aws s3 cp $< s3://$$S3_BUCKET_NAME --acl public-read

merged/%.pdf : $(addsuffix .pdf,$(basename $(ATTACHMENTS)))
pdfunite $^ $@
Expand Down
2 changes: 1 addition & 1 deletion scripts/download_attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import scrapelib


s = scrapelib.Scraper(retry_attempts=1)
s = scrapelib.Scraper(retry_attempts=2)
filenames = []

for attachment_link in json.loads(
Expand Down

0 comments on commit 443ff63

Please sign in to comment.