mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 09:37:37 +00:00
14 lines
351 B
Bash
Executable File
14 lines
351 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
set -o nounset
|
|
# set -o xtrace
|
|
|
|
aws configure set preview.cloudfront true
|
|
aws --profile mitmproxy \
|
|
s3 sync --delete --acl public-read ./public s3://docs.mitmproxy.org/stable
|
|
aws --profile mitmproxy \
|
|
cloudfront create-invalidation --distribution-id E1TH3USJHFQZ5Q \
|
|
--paths "/stable/*"
|