2020-04-11 10:25:56 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -o errexit
|
|
|
|
set -o pipefail
|
|
|
|
set -o nounset
|
|
|
|
# set -o xtrace
|
2018-03-04 21:51:46 +00:00
|
|
|
|
|
|
|
aws configure set preview.cloudfront true
|
|
|
|
aws --profile mitmproxy \
|
|
|
|
s3 sync --acl public-read ./public s3://docs.mitmproxy.org/stable
|
2018-03-07 09:45:08 +00:00
|
|
|
aws --profile mitmproxy \
|
|
|
|
cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \
|
2018-03-21 12:46:41 +00:00
|
|
|
--paths "/stable/*"
|