Skip to content

ayedaemon/ayedaemon.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 -