Skip to content

Commit 9436f0b

Browse files
committed
Allow the pull-docs script to pull other than master
1 parent f8fd579 commit 9436f0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pull-docs.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

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

0 commit comments

Comments
 (0)