Created
February 23, 2019 10:41
-
-
Save bricewge/ca40d415f5f3a45de9c04e779ac68e03 to your computer and use it in GitHub Desktop.
Deploying hugo blog with caddy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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