hugo/pull-docs.sh

8 lines
266 B
Bash
Raw Normal View History

2017-07-21 05:01:13 -04:00
#!/bin/bash
HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}"
2017-07-21 05:01:13 -04:00
# 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
2017-07-21 05:01:13 -04:00