fix cloudfront invalidation paths
This commit is contained in:
parent
2dd8ad36ae
commit
623f9b694d
2
docs/ci
2
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
|
||||
|
|
|
@ -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/*"
|
||||
|
|
|
@ -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/*"
|
||||
|
|
Loading…
Reference in New Issue