Skip to content

Instantly share code, notes, and snippets.

@jsedlacek
Created November 3, 2014 19:36
Show Gist options
  • Save jsedlacek/828953c1318b808fd4c9 to your computer and use it in GitHub Desktop.
Save jsedlacek/828953c1318b808fd4c9 to your computer and use it in GitHub Desktop.
Upload assets to s3
cdn: $(BUILD)/release/assets
s3cmd \
--acl-public \
--guess-mime-type \
--add-header="Cache-Control: max-age=31557600" \
sync $</ $(S3_BUCKET)
.PHONY: cdn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment