Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/generate-homeval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ jobs:
REMOTE="${REMOTE}/${YEAR}"
fi

aws s3 sync "${LOCAL}/" "${REMOTE}/" --no-progress
aws s3 cp "${LOCAL}/" "${REMOTE}/" --recursive --no-progress

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With sync, the idea is to only upload what has changed, so it lists every object in the relevant s3 dir, then makes the comparison. I suspect this is why the upload takes so long.

cp just copies the file, and overwrites it if there is an existing file, which is orders of magnitude faster.

--recursive docs: --recursive (boolean) Command is performed on all files or objects under the specified directory or prefix.

I don't think that we need what sync provides, but maybe I'm missing something!


###############################################################################
# Invalidate cache and notify
Expand Down
Loading