Created
April 13, 2018 11:02
-
-
Save random-robbie/9207d0f293adb704b9a11486c7529a6e to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
aws s3api create-bucket --bucket z4.net --acl public-read --region us-west-2 | |
wget https://gist.githubusercontent.com/random-robbie/dfc39ba1ee9c004f65b961bdecfacf9c/raw/62c65927d20a022320f76fa07a435148a0349aee/redirect.json | |
aws s3api put-bucket-website --bucket z4.net --website-configuration file://redirect.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment