File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
AWS_ACCESS_KEY_ID : ${{secrets.AWS_ACCESS_KEY_ID}}
10
10
AWS_SECRET_ACCESS_KEY : ${{secrets.AWS_SECRET_ACCESS_KEY}}
11
11
AWS_DEFAULT_REGION : ${{secrets.AWS_DEFAULT_REGION}}
12
- ENDPOINT_URL : ${{secrets.S3_ENDPOINT_URL}}
12
+ S3_ENDPOINT_URL : ${{secrets.S3_ENDPOINT_URL}}
13
13
S3_UPLOAD_PATH : ${{secrets.S3_UPLOAD_PATH}}
14
14
S3_BUCKET : ${{secrets.S3_BUCKET}}
15
15
INTERNALS_UPDATE_URL : ${{secrets.INTERNALS_DEVELOP_UPDATE_URL}}
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ if [ $not_exist ]; then
13
13
echo " toctree.json does not exist"
14
14
else
15
15
echo " found toctree.json, remove the branch from s3 location"
16
- aws s3 rm " ${DOC_DEST} " /json --endpoint-url=" ${ENDPOINT_URL } " --recursive
16
+ aws s3 rm " ${DOC_DEST} " /json --endpoint-url=" ${S3_ENDPOINT_URL } " --recursive
17
17
fi
18
18
19
- aws s3 cp build/json " ${DOC_DEST} " /json/_build_en/json --endpoint-url=" ${ENDPOINT_URL } " --recursive --include " *" --exclude " *.jpg" --exclude " *.png" --exclude " *.svg"
19
+ aws s3 cp build/json " ${DOC_DEST} " /json/_build_en/json --endpoint-url=" ${S3_ENDPOINT_URL } " --recursive --include " *" --exclude " *.jpg" --exclude " *.png" --exclude " *.svg"
20
20
21
21
curl --fail --show-error \
22
22
--data ' {"update_key":"' " ${UPDATE_KEY} " ' "}' \
You can’t perform that action at this time.
0 commit comments