Skip to content

Commit

Permalink
fix typos in commit_docs.sh script (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip authored Nov 16, 2020
1 parent 20a4154 commit 70f429a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/build_docs/commit_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ if [ "$2" == "" ]; then
exit 1
fi

scr=$1
src=$1
target=$2

set -ex
echo "committing docs from ${stc} to ${target}"
echo "committing docs from ${src} to ${target}"

git checkout gh-pages
rm -rf docs/$target/*
cp -r ${src}/build/html/* docs/$target
if [ $target == "master" ]; then
if [ "$target" == "master" ]; then
rm -rf docs/_static/*
cp -r ${src}/build/html/_static/* docs/_static
fi
Expand Down

0 comments on commit 70f429a

Please sign in to comment.