github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/pull-docs.sh (about)

     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.
     6  git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git ${HUGO_DOCS_BRANCH} --squash
     7