Created
November 3, 2014 19:36
-
-
Save jsedlacek/828953c1318b808fd4c9 to your computer and use it in GitHub Desktop.
Upload assets to s3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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