Skip to content

Commit

Permalink
less fancy
Browse files Browse the repository at this point in the history
  • Loading branch information
adriancole committed Nov 22, 2020
1 parent 33389ae commit 16949ef
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build-bin/idl_to_gh_pages
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
#

set -ue
# Keep track of where CI put us.
# We are on a detached head, and we need to be able to go back to it.
build_head=$(git rev-parse HEAD)

# Update gh-pages
git fetch origin gh-pages:gh-pages
Expand All @@ -39,5 +36,5 @@ if [ ! -z "${files_to_commit}" ]; then
git push origin gh-pages
fi

# back to head
git checkout ${build_head}
# back to master
git checkout master

0 comments on commit 16949ef

Please sign in to comment.