diff --git a/docs/ci b/docs/ci index 107e8370e..ab442257a 100755 --- a/docs/ci +++ b/docs/ci @@ -10,5 +10,5 @@ set -e if [[ ! -z "${AWS_ACCESS_KEY_ID}" && $TRAVIS_BRANCH == "master" ]]; then aws s3 sync --acl public-read ./public s3://docs.mitmproxy.org/master aws cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \ - --paths "/master" + --paths "/master/*" fi diff --git a/docs/upload-archive b/docs/upload-archive index 7548dd5b2..3aaeb9be3 100755 --- a/docs/upload-archive +++ b/docs/upload-archive @@ -15,4 +15,4 @@ aws --profile mitmproxy \ s3 sync --acl public-read ./public s3://docs.mitmproxy.org$SPATH aws --profile mitmproxy \ cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \ - --paths "$SPATH" + --paths "$SPATH/*" diff --git a/docs/upload-stable b/docs/upload-stable index a0c4dfc83..5aea74796 100755 --- a/docs/upload-stable +++ b/docs/upload-stable @@ -6,4 +6,4 @@ 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/*"