Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 567 Bytes

README.md

File metadata and controls

55 lines (32 loc) · 567 Bytes

https://ayedaemon.github.io


  • Run locally
# Clone repo
git clone <url_to_repo>

# Start hugo server

hugo server -D --disableFastRender
  • Create new post page
hugo new path/to/new/file.md
  • Deploy (now using worktrees)
  1. One time setup (initial)
git worktree add -B gh-pages public origin/gh-pages
  1. Build hugo site
hugo --gc --minify --cleanDestinationDir --logLevel info
  1. Push main branch
git push
  1. push gh-pages branch
cd public && \
git push &&\
cd -