From 55527c00eb35bf3b07b361363fd8ca2961afc8ba Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sat, 11 Apr 2020 12:25:56 +0200 Subject: docs: rename docs scripts and improve template --- docs/upload-stable.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 docs/upload-stable.sh (limited to 'docs/upload-stable.sh') 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/*" -- cgit v1.2.3