summaryrefslogtreecommitdiffstats
path: root/pull-docs.sh
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-07-21 11:01:13 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-07-21 11:01:13 +0200
commitff433f98133662063cbb16e220fd44c678c82823 (patch)
tree83826ffad3e366d227e59cc79f8c6adfe32b8167 /pull-docs.sh
parentf387cb1b38fe8b09e4cbca9816caaa840de55c5b (diff)
Add script to pull in docs changes
Diffstat (limited to 'pull-docs.sh')
-rwxr-xr-xpull-docs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pull-docs.sh b/pull-docs.sh
new file mode 100755
index 000000000..afe8fce85
--- /dev/null
+++ b/pull-docs.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# 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
+