mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
15 lines
426 B
Bash
Executable File
15 lines
426 B
Bash
Executable File
#!/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.
|
|
|
|
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
|