Last active
December 11, 2015 23:49
-
-
Save benschwarz/4679706 to your computer and use it in GitHub Desktop.
Deploying a static site to S3
This file contains hidden or 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
#!/usr/bin/env bash | |
assets='stylesheets javascripts images fonts' | |
echo "Deploying: $assets" | |
s3cmd sync --force --reduced-redundancy --acl-public $assets s3://a.germanforblack.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
--reduced-redundancy option added, thanks @compactcode