mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-19 20:48:22 +06:00
[CI][DOC] Don't rebuild if folder exists - Correct directory.
This commit is contained in:
parent
8f8d69716a
commit
be7f2aacce
@ -5,7 +5,7 @@ function deploy_doc(){
|
|||||||
git checkout $1
|
git checkout $1
|
||||||
if [ ! -z "$2" ]
|
if [ ! -z "$2" ]
|
||||||
then
|
then
|
||||||
if [ -d "$DIRECTORY" ]; then
|
if [ -d "$dir/$2" ]; then
|
||||||
echo "Directory" $2 "already exists"
|
echo "Directory" $2 "already exists"
|
||||||
else
|
else
|
||||||
echo "Pushing version" $2
|
echo "Pushing version" $2
|
||||||
|
Loading…
Reference in New Issue
Block a user