File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ :orphan:
2
+
3
+ .. toctree ::
4
+ :caption: Contents:
5
+ :maxdepth: 2
6
+ :includehidden:
7
+
8
+ fiber
9
+ replication
10
+ relay
11
+ qsync
12
+ wal
13
+ wal-fmt
14
+ allocators
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+
4
+ BRANCH=$BRANCH_NAME
5
+ DOC_DEST=" $S3_UPLOAD_PATH /internals/${BRANCH_NAME} "
6
+ CHECK_KEY=" doc-builds/internals/${BRANCH_NAME} /json/_build_ru/json/toctree.fjson"
7
+
8
+ aws s3api head-object --bucket ${S3_BUCKET} --key ${CHECK_KEY} --endpoint-url=" $ENDPOINT_URL " || not_exist=true
9
+ if [ $not_exist ]; then
10
+ echo " toctree.json does not exist"
11
+ else
12
+ echo " found toctree.json, remove the branch from s3 location"
13
+ aws s3 rm " $DOC_DEST " /json --endpoint-url=" $ENDPOINT_URL " --recursive
14
+ fi
15
+
16
+ aws s3 cp build/json " $DOC_DEST " /json --endpoint-url=" $ENDPOINT_URL " --recursive --include " *" --exclude " *.jpg" --exclude " *.png" --exclude " *.svg"
You can’t perform that action at this time.
0 commit comments