mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
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
|
if [[ ! -z "${AWS_ACCESS_KEY_ID}" && $TRAVIS_BRANCH == "master" ]]; then
|
||||||
aws s3 sync --acl public-read ./public s3://docs.mitmproxy.org/master
|
aws s3 sync --acl public-read ./public s3://docs.mitmproxy.org/master
|
||||||
aws cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \
|
aws cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \
|
||||||
--paths "/master"
|
--paths "/master/*"
|
||||||
fi
|
fi
|
||||||
|
@ -15,4 +15,4 @@ aws --profile mitmproxy \
|
|||||||
s3 sync --acl public-read ./public s3://docs.mitmproxy.org$SPATH
|
s3 sync --acl public-read ./public s3://docs.mitmproxy.org$SPATH
|
||||||
aws --profile mitmproxy \
|
aws --profile mitmproxy \
|
||||||
cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \
|
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
|
s3 sync --acl public-read ./public s3://docs.mitmproxy.org/stable
|
||||||
aws --profile mitmproxy \
|
aws --profile mitmproxy \
|
||||||
cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \
|
cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \
|
||||||
--paths "/stable"
|
--paths "/stable/*"
|
||||||
|
Loading…
Reference in New Issue
Block a user