diff options
Diffstat (limited to 'pull-docs.sh')
-rwxr-xr-x | pull-docs.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pull-docs.sh b/pull-docs.sh new file mode 100755 index 000000000..b8850530a --- /dev/null +++ b/pull-docs.sh @@ -0,0 +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 ${HUGO_DOCS_BRANCH} --squash + |