2017-07-21 09:01:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-09-23 08:11:20 +00:00
|
|
|
HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}"
|
|
|
|
|
2017-07-21 09:01:13 +00:00
|
|
|
# We may extend this to also push changes in the other direction, but this is the most important step.
|
2017-09-23 08:11:20 +00:00
|
|
|
git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git ${HUGO_DOCS_BRANCH} --squash
|
2017-07-21 09:01:13 +00:00
|
|
|
|