Skip to content

Commit

Permalink
No pushd/popd in bare sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ah- committed Mar 1, 2018
1 parent 2693e5c commit 9a8c637
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] ||
exit 0
fi

pushd book
cd book

echo -e "Initializing Git"
git init
Expand All @@ -27,5 +27,3 @@ git commit -m "rebuild pages at ${rev}" --quiet
git push -q upstream HEAD:gh-pages

echo -e "Deployed docs to GitHub Pages"

popd

0 comments on commit 9a8c637

Please sign in to comment.