未验证 提交 93c63d18 编写于 作者: C chentianyu03 提交者: GitHub

Ci scripts (#2568)

* add new ci_scripts for new paddle doc dirs

* fix path error

* fix path error
上级 787a4d8e
......@@ -3,7 +3,7 @@
API_FILES=("doc/paddle/api/paddle")
for API_FILE in ${API_FILES[*]}; do
API_CHANGE=`git diff --name-only upstream/$BRANCH | grep "${API_FILE}"
API_CHANGE=`git diff --name-only upstream/$BRANCH | grep "${API_FILE}"`
if [ "${API_CHANGE}" ];then
approval_line=`curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/FluidDoc/pulls/${GIT_PR_ID}/reviews?per_page=10000`
if [ "${API_FILE}" == "doc/paddle/api/paddle" ];then
......@@ -17,3 +17,4 @@ for API_FILE in ${API_FILES[*]}; do
exit 1
fi
done
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册