diff options
Diffstat (limited to 'docs/upload-stable')
-rwxr-xr-x | docs/upload-stable | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/upload-stable b/docs/upload-stable new file mode 100755 index 00000000..5aea7479 --- /dev/null +++ b/docs/upload-stable @@ -0,0 +1,9 @@ +#!/bin/bash +set -e + +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/*" |