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 #!/bin/bash
PADDLE_ROOT=/paddle PADDLE_ROOT=/home
mkdir ${PADDLE_ROOT}
cd ${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/PaddlePaddle/FluidDoc
git clone https://github.com/tianshuo78520a/PaddlePaddle.org.git git clone https://github.com/tianshuo78520a/PaddlePaddle.org.git
sh ${PADDLE_ROOT}/FluidDoc/doc/fluid/api/gen_doc.sh cd ${PADDLE_ROOT}/FluidDoc/doc/fluid/api
pip install ${PADDLE_ROOT}/build/opt/paddle/share/wheels/*.whl sh gen_doc.sh
apt-get update && apt-get install -y python-dev build-essential apt-get update && apt-get install -y python-dev build-essential
cd ${PADDLE_ROOT}/PaddlePaddle.org/portal cd ${PADDLE_ROOT}/PaddlePaddle.org/portal
pip install -r requirements.txt pip install -r requirements.txt

Loading…
Cancel
Save