This is the source repository for my personal blog.
The blog is hosted on GitHub Pages at https://gregorias.github.io and uses Jekyll for site generation.
-
Install Lefthook.
lefthook install
-
Allow
.envrc.direnv allow
-
Install project dependencies:
rbenv install gem install bundler bundler install
To preview your drafts, run
jekyll serve --draftsThis will run a local server instance with live updates.
To build the static website before release, run
jekyll buildTo update the used Ruby version:
-
Update
.ruby-version.- (Optional) Install the new version on your system with
rbenv install x.y.z.
- (Optional) Install the new version on your system with
-
Update
.github/workflows/jekyll-build-and-deploy.yml. -
Clean currently generated files and regenerate them:
git clean -xdf bundler install just build
To update the used Bundler, delete the lockfile and regenerate with
bundler install.