Skip to content

Commit

Permalink
Allow the pull-docs script to pull other than master
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Sep 23, 2017
1 parent f8fd579 commit 9436f0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pull-docs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}"

# We may extend this to also push changes in the other direction, but this is the most important step.
git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git ${HUGO_DOCS_BRANCH} --squash

0 comments on commit 9436f0b

Please sign in to comment.