Featured image of post Hugo Deployment

Hugo Deployment

How to deploy my blog to GitHub page?

Deployment

Problems

After having committed my blog to main branch, it does not deploy automatically. Having tried with my own GitHub Actions workflow but does not help.

Solution

Eventually a doc from Hugo saved me. Host on GitHub Pages

Commitment

Problems

Notes for Obsidian usage is located in one location while notes for Hugo is under blog’s repo.

Solution

So far, the simplest way to resolve this issue is to copy all notes to blog before committing.

1
cp -R /Users/chfa/Notes/ChunNotes/10-Blog/* /Users/chfa/dev/blog/content/post/
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy