Update doc deployment script

This commit is contained in:
Lysandre
2021-02-05 11:10:29 +01:00
parent 3be965c5db
commit 95a5f271e5
2 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ cd docs
function deploy_doc(){ function deploy_doc(){
echo "Creating doc at commit $1 and pushing to folder $2" echo "Creating doc at commit $1 and pushing to folder $2"
git checkout $1 git checkout $1
pip install -U .
if [ ! -z "$2" ] if [ ! -z "$2" ]
then then
if [ "$2" == "master" ]; then if [ "$2" == "master" ]; then

View File

@@ -23,7 +23,7 @@ requirements:
- sacremoses - sacremoses
- regex !=2019.12.17 - regex !=2019.12.17
- protobuf - protobuf
- tokenizers ==0.9.4 - tokenizers ==0.10.1rc1
run: run:
- python - python
- numpy - numpy
@@ -35,7 +35,7 @@ requirements:
- sacremoses - sacremoses
- regex !=2019.12.17 - regex !=2019.12.17
- protobuf - protobuf
- tokenizers ==0.9.4 - tokenizers ==0.10.1rc1
test: test:
imports: imports: