File: pull-docs.sh

package info (click to toggle)
hugo 0.155.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 43,804 kB
  • sloc: javascript: 31,879; ansic: 2,350; xml: 350; makefile: 197; sh: 110
file content (7 lines) | stat: -rwxr-xr-x 266 bytes parent folder | download | duplicates (6)
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