mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Allow the pull-docs script to pull other than master
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# We may extend this to also push changes in the other direction, but this is the most important step.
|
HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}"
|
||||||
git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user