项目作者: ayedaemon
项目描述 :
‡Connected‡
高级语言: HTML
项目地址: git://github.com/ayedaemon/ayedaemon.github.io.git
https://ayedaemon.github.io
# Clone repo
git clone <url_to_repo>
# Start hugo server
hugo server -D --disableFastRender
hugo new path/to/new/file.md
- Deploy (now using worktrees)
- One time setup (initial)
git worktree add -B gh-pages public origin/gh-pages
- Build hugo site
hugo --gc --minify --cleanDestinationDir --logLevel info
- Push main branch
git push
- push gh-pages branch
cd public && \
git push &&\
cd -