Skip to content

Commit

Permalink
Fix website automation for when gh-pages branch does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Dec 9, 2019
1 parent eaf7294 commit e20f00a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chezmoi.io/make-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cleanup() {
rm -rf ${tmpdir}
}
trap cleanup EXIT
git branch -f gh-pages origin/gh-pages
git clone --branch=gh-pages --local .. ${tmpdir}

# copy the new website to the temporary directory
Expand Down

0 comments on commit e20f00a

Please sign in to comment.