Fix PR_CI_Document_Preview Job (#17514)

* test=develop

* test=develop
fix_ema
tianshuo78520a 6 years ago committed by Tao Luo
parent daf88968e2
commit e6b5a3f092

@ -1,10 +1,12 @@
#!/bin/bash
PADDLE_ROOT=/paddle
PADDLE_ROOT=/home
mkdir ${PADDLE_ROOT}
cd ${PADDLE_ROOT}
pip install /paddle/build/opt/paddle/share/wheels/*.whl
git clone https://github.com/PaddlePaddle/FluidDoc
git clone https://github.com/tianshuo78520a/PaddlePaddle.org.git
sh ${PADDLE_ROOT}/FluidDoc/doc/fluid/api/gen_doc.sh
pip install ${PADDLE_ROOT}/build/opt/paddle/share/wheels/*.whl
cd ${PADDLE_ROOT}/FluidDoc/doc/fluid/api
sh gen_doc.sh
apt-get update && apt-get install -y python-dev build-essential
cd ${PADDLE_ROOT}/PaddlePaddle.org/portal
pip install -r requirements.txt

Loading…
Cancel
Save