2020-04-11 10:25:56 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -o errexit
|
|
|
|
set -o pipefail
|
|
|
|
set -o nounset
|
|
|
|
# set -o xtrace
|
|
|
|
|
|
|
|
# This is only needed once to provision a new fresh empty S3 bucket.
|
2018-03-04 21:57:50 +00:00
|
|
|
|
|
|
|
aws configure set preview.cloudfront true
|
|
|
|
aws --profile mitmproxy \
|
|
|
|
s3 cp --acl public-read ./bucketassets/error.html s3://docs.mitmproxy.org/error.html
|
|
|
|
aws --profile mitmproxy \
|
|
|
|
s3 cp --acl public-read ./bucketassets/robots.txt s3://docs.mitmproxy.org/robots.txt
|