1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
gohugoio-hugo/pull-docs.sh
2017-09-23 10:13:40 +02:00

8 lines
266 B
Bash
Executable File

#!/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