This is a Hugo site configured for GitHub Pages using the Researcher theme and GitHub Actions to deploy to the gh-pages branch.
- Create the GitHub repo named
tammynpm.github.io(public recommended) under yourtammynpmaccount. - Initialize git locally and push the code (commands below).
- GitHub Actions will build and deploy to the
gh-pagesbranch automatically. - In your repo settings, enable GitHub Pages to serve from the
gh-pagesbranch (root).
If you have Hugo installed locally, you can run:
hugo server -DThen visit http://localhost:1313
This repo uses a GitHub Actions workflow at .github/workflows/hugo.yaml which will:
- Set up Hugo (extended)
- Resolve the Researcher theme via Hugo Modules
- Build the site into
public/ - Publish to the
gh-pagesbranch using the built-inGITHUB_TOKEN
- Update site settings in
hugo.toml(title, author, params, menu, etc.) - Edit the homepage at
content/_index.md - Add posts under
content/posts/ - Add images to
static/and they will be served at the root (e.g.,/img.png)
Replace the remote URL if you use SSH instead of HTTPS.
git init
git add .
git commit -m "Initial Hugo site with Researcher and GH Actions"
git branch -M main
git remote add origin https://github.com/tammynpm/tammynpm.github.io.git
git push -u origin main