Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit bb2f207

Browse files
optional deploy on make_docs
1 parent 44c2d35 commit bb2f207

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Diff for: make_docs.sh

+8-7
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ echo www.plotly.express >> CNAME
3131
echo plotly_express >> requirements.txt
3232
mv gallery.html index.html
3333

34-
# push to gh-pages
35-
git init
36-
git add .
37-
git commit -m doc_build
38-
git push --force [email protected]:plotly/plotly_express.git master:gh-pages
34+
if [ "$1" == "deploy" ]
35+
then
36+
# push to gh-pages
37+
git init
38+
git add .
39+
git commit -m doc_build
40+
git push --force [email protected]:plotly/plotly_express.git master:gh-pages
41+
fi
3942

40-
# clean up
4143
cd ..
42-
rm -rf doc_build
4344

0 commit comments

Comments
 (0)