Skip to content

Commit

Permalink
Update docs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
deven96 committed Feb 1, 2019
1 parent d5be245 commit 6f06259
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 11,12 @@ git config --global user.name "Travis CI"

# Checkout to gh-pages
git checkout gh-pages
if [ $? -eq 0] then
echo "Checked out to existing gh-pages branch"
else
git checkout -b gh-pages
echo "Creating gh-pages branch"
fi

#remove existing files except html
shopt -s extglob
Expand Down

0 comments on commit 6f06259

Please sign in to comment.