今更hugo
Page content
Introduction
業務では使用してましたが、個人のアウトプットする場として今更ながらの作成です
環境構築
githug上にリポジトリ作成
フォルダ初期化
hugo new site kensei.github.io cd kensei.github.io git init git remote add git submodule add https://github.com/vimux/mainroad.git themes/mainroad
hugo.tomlを修正
theme = "mainroad"
動作確認
hugo server -D --buildDrafts
記事の作成
hugo new content blog/2024/first-post.md
deploy
githubaction作成
``` touch .github/workflows/hugo.yaml ```
内容を修正(ほぼ公式通り)
At the end
早い