Skip to content

Instantly share code, notes, and snippets.

@bricewge
Created February 23, 2019 10:41
Show Gist options
  • Save bricewge/ca40d415f5f3a45de9c04e779ac68e03 to your computer and use it in GitHub Desktop.
Save bricewge/ca40d415f5f3a45de9c04e779ac68e03 to your computer and use it in GitHub Desktop.
Deploying hugo blog with caddy
localhost:8080 {
root ./my-site
internal .repo
git {
repo https://github.com/kaushalmodi/hugo-bare-min-theme.git
path .repo
clone_args --depth 1 --recurse-submodules
pull_args --recurse-submodules
interval 3600
then hugo --source ./exampleSite --destination ../..
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment