diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-03-05 10:51:46 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-03-05 10:51:46 +1300 |
commit | a68c7ffb27278c4e2aea4d2d8a87ee15a86bcd88 (patch) | |
tree | 3c86ecc7bc7b9e224c54f493683c61762cb505a7 /docs/upload-master | |
parent | 08e50aa39bbc5108404e865091e46b4fd2c1f479 (diff) | |
download | mitmproxy-a68c7ffb27278c4e2aea4d2d8a87ee15a86bcd88.tar.gz mitmproxy-a68c7ffb27278c4e2aea4d2d8a87ee15a86bcd88.tar.bz2 mitmproxy-a68c7ffb27278c4e2aea4d2d8a87ee15a86bcd88.zip |
docs: add build and upload scripts
The upload scripts might be unified down the track, or might not. CloudFront is
not set up for the docs bucket yet, so CDN invalidation is commented out. This
will be added later.
Diffstat (limited to 'docs/upload-master')
-rwxr-xr-x | docs/upload-master | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/upload-master b/docs/upload-master new file mode 100755 index 00000000..c8fcda80 --- /dev/null +++ b/docs/upload-master @@ -0,0 +1,8 @@ +#!/bin/sh + +aws configure set preview.cloudfront true +aws --profile mitmproxy \ + s3 sync --acl public-read ./public s3://docs.mitmproxy.org/master +# aws --profile mitmproxy \ +# cloudfront create-invalidation --distribution-id E3UCZ4MLN4TO7U \ +# --paths "/master" |