From 623f9b694d9f9ddc9130d03b7ffb079c1c492dc6 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 21 Mar 2018 13:46:41 +0100 Subject: [PATCH] fix cloudfront invalidation paths --- docs/ci | 2 +- docs/upload-archive | 2 +- docs/upload-stable | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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/*"