Featured image of post Hugo Deployment

Hugo Deployment

How to deploy my blog to GitHub page?

Deployment

Problems and Solutions

  • 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.

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

  • Not able to show pictures in title

    Need to use index as tilte and file name instead of the full meaningful title.

Commitment

Problems and Solutions

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

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

    1
    2
    3
    
    cd /Users/chfa/dev/blog/content/post/
    rm -rf **
    cp -R /Users/chfa/NextcloudNotes/ChunNotes/10-Blog/* /Users/chfa/dev/blog/content/post/
    
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy