Commit be7f2aac authored by Lysandre's avatar Lysandre
Browse files

[CI][DOC] Don't rebuild if folder exists - Correct directory.

parent 8f8d6971
......@@ -5,7 +5,7 @@ function deploy_doc(){
git checkout $1
if [ ! -z "$2" ]
then
if [ -d "$DIRECTORY" ]; then
if [ -d "$dir/$2" ]; then
echo "Directory" $2 "already exists"
else
echo "Pushing version" $2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment