We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8fd579 commit 9436f0bCopy full SHA for 9436f0b
pull-docs.sh
@@ -1,5 +1,7 @@
1
#!/bin/bash
2
3
+HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}"
4
+
5
# 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 master --squash
6
+git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git ${HUGO_DOCS_BRANCH} --squash
7
0 commit comments