Unverified Commit 0148c262 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix first test (#5255)

parent 70c1e1d2
...@@ -5,7 +5,7 @@ function deploy_doc(){ ...@@ -5,7 +5,7 @@ function deploy_doc(){
git checkout $1 git checkout $1
if [ ! -z "$2" ] if [ ! -z "$2" ]
then then
if [ "$2" != "master" ]; then if [ "$2" == "master" ]; then
echo "Pushing master" echo "Pushing master"
make clean && make html && scp -r -oStrictHostKeyChecking=no _build/html/* $doc:$dir/$2/ make clean && make html && scp -r -oStrictHostKeyChecking=no _build/html/* $doc:$dir/$2/
cp -r _build/html/_static . cp -r _build/html/_static .
......
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