mitmproxy/docs/upload-stable
2018-03-21 13:47:15 +01:00

10 lines
278 B
Bash
Executable File

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