Created
October 17, 2019 16:12
-
-
Save quin2/08d9c325b0e97ccbece2e61ff56bf1ba to your computer and use it in GitHub Desktop.
goes with deploy.sh
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
| #!/bin/bash | |
| if [ $# -ne 1 ] | |
| then | |
| echo "Usage: enter one argment for the static site/bucket name" | |
| exit 0 | |
| fi | |
| aws s3 sync --acl public-read --sse --delete . s3://$1 | |
| echo "$1.s3.amazonaws.com" | |
| exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment