diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2020-04-12 22:06:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 22:06:22 +0200 |
commit | 30645fa1ac6fa828bda390383abee7c04f20206f (patch) | |
tree | 10b599dab550e06c6d2d9ffb37dd1a3cf783922a /docs/upload-stable.sh | |
parent | ce50e8e52dc5316f9be29bc00d0dc72fc2b0af83 (diff) | |
parent | 55527c00eb35bf3b07b361363fd8ca2961afc8ba (diff) | |
download | mitmproxy-30645fa1ac6fa828bda390383abee7c04f20206f.tar.gz mitmproxy-30645fa1ac6fa828bda390383abee7c04f20206f.tar.bz2 mitmproxy-30645fa1ac6fa828bda390383abee7c04f20206f.zip |
Merge pull request #3921 from Kriechi/example-docs
Example docs
Diffstat (limited to 'docs/upload-stable.sh')
-rwxr-xr-x | docs/upload-stable.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/upload-stable.sh b/docs/upload-stable.sh new file mode 100755 index 00000000..a2f20f01 --- /dev/null +++ b/docs/upload-stable.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -o errexit +set -o pipefail +set -o nounset +# set -o xtrace + +aws configure set preview.cloudfront true +aws --profile mitmproxy \ + s3 sync --acl public-read ./public s3://docs.mitmproxy.org/stable +aws --profile mitmproxy \ + cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \ + --paths "/stable/*" |