Update website URIs
Update links and base url for new location
Support deploying to github and sourcehut
This is the source for my personal blog at https://groovestomp.github.io/
hugo
This outputs to the ./public/
directory.
hugo server
Then point a web browser at http://localhost:1313
There are two deploy scripts, both modified from here.
One is for SourceHut, and the other is for GitHub. The GitHub one is legacy, for the old www.groovestomp.com domain where the blog was the site.
The target github repository for the published content should first be cloned as a git submodule.
git submodule add -b master <repository> <name>
<name>
should be either "sourcehut" or "github" as per the deploy-<name>.sh
script.
Actual deployment is then just ./deploy-<name>.sh
.
For GitHub this publishes automatically if you point your domain to .github.io.
For SourceHut this doesn't exist and I have it configured differently anyway. Just pull the published repo on the server.