Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pull-docs.sh - github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b8850530a173761edf94528345319205ddfc3f05 (plain)
1
2
3
4
5
6
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