fix cloudfront invalidation paths

This commit is contained in:
Maximilian Hils 2018-03-21 13:46:41 +01:00
parent 2dd8ad36ae
commit 623f9b694d
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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/*"

View File

@ -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/*"