aboutsummaryrefslogtreecommitdiffstats
path: root/docs/upload-stable
diff options
context:
space:
mode:
authorMiheer Dewaskar <miheerdew@gmail.com>2018-03-24 10:49:08 -0400
committerMiheer Dewaskar <miheerdew@gmail.com>2018-03-24 10:49:08 -0400
commit9ee96f022764c71a4a776956037230d6ef4fee7e (patch)
tree8ebae8b64fcc0474466b3321efec201416d75ed0 /docs/upload-stable
parent00d51db9250bedf8a36924e15345648b0cecc38f (diff)
parent2859ee2fa8c7f3311c069a40ada3975d31e8eccf (diff)
downloadmitmproxy-9ee96f022764c71a4a776956037230d6ef4fee7e.tar.gz
mitmproxy-9ee96f022764c71a4a776956037230d6ef4fee7e.tar.bz2
mitmproxy-9ee96f022764c71a4a776956037230d6ef4fee7e.zip
Merge master
Diffstat (limited to 'docs/upload-stable')
-rwxr-xr-xdocs/upload-stable5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/upload-stable b/docs/upload-stable
index c2c1267e..5aea7479 100755
--- a/docs/upload-stable
+++ b/docs/upload-stable
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/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"
+ --paths "/stable/*"