mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Allow the pull-docs script to pull other than master
This commit is contained in:
parent
f8fd5796bb
commit
9436f0b0c3
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 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
|
||||
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 ${HUGO_DOCS_BRANCH} --squash
|
||||
|
||||
|
|
Loading…
Reference in a new issue