Skip to content

Commit 2f74e16

Browse files
Update
1 parent 3f4765f commit 2f74e16

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ci_scripts/ci_start.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,15 @@ if [ "${BUILD_DOC}" = "true" ] && [ -x /usr/local/bin/sphinx-build ] ; then
6666
if [ "${UPLOAD_DOC}" = "true" ] ; then
6767
PREVIEW_JOB_NAME="preview-pr-${GIT_PR_ID}"
6868
BOSBUCKET=${BOSBUCKET:=paddle-site-web-dev}
69-
wget -q --no-proxy https://xly-devops.bj.bcebos.com/home/bos_dir.tar --no-check-certificate
70-
tar xf bos_dir.tar
71-
python3 -m pip install bce-python-sdk==0.8.74
72-
# use bos_der.tar: The first parameter is to upload the directory, the second parameter is to upload the BOS directory, and the third parameter is to exclude the directory
73-
python3 BosClient.py ${OUTPUTDIR}/en/${VERSIONSTR} ${BOSBUCKET}/documentation/en/${PREVIEW_JOB_NAME} ${OUTPUTDIR}/en/${VERSIONSTR}/_sources
74-
python3 BosClient.py ${OUTPUTDIR}/zh/${VERSIONSTR} ${BOSBUCKET}/documentation/zh/${PREVIEW_JOB_NAME} ${OUTPUTDIR}/zh/${VERSIONSTR}/_sources
69+
wget -q --no-proxy https://xly-devops.bj.bcebos.com/home/bos_dir.tar --no-check-certificate
70+
tar xf bos_dir.tar
71+
python3 -m pip install bce-python-sdk==0.8.74
72+
# use bos_der.tar: The first parameter is to upload the directory, the second parameter is to upload the BOS directory, and the third parameter is to exclude the directory
73+
python3 BosClient.py ${OUTPUTDIR}/en/${VERSIONSTR} ${BOSBUCKET}/documentation/en/${PREVIEW_JOB_NAME} ${OUTPUTDIR}/en/${VERSIONSTR}/_sources
74+
python3 BosClient.py ${OUTPUTDIR}/zh/${VERSIONSTR} ${BOSBUCKET}/documentation/zh/${PREVIEW_JOB_NAME} ${OUTPUTDIR}/zh/${VERSIONSTR}/_sources
7575
# print preview url
7676
PREVIEW_URL_PROMPT="ipipe_log_param_preview_url: http://${PREVIEW_JOB_NAME}.${PREVIEW_SITE:-preview.paddlepaddle.org}/documentation/docs/zh/api/index_cn.html"
77+
sleep 3d
7778
fi
7879
fi
7980

0 commit comments

Comments
 (0)