mitmproxy/docs/upload-master
Aldo Cortesi a68c7ffb27 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.
2018-03-05 10:51:46 +13:00

9 lines
273 B
Bash
Executable File

#!/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"