generated from irfansofyana/til-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6351743
commit 7f9b693
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
layout: post | ||
title: "Jekyll build" | ||
date: 2025-01-08 | ||
category: Jekyll | ||
tags: [jekyll, Github Pages] | ||
--- | ||
|
||
## What I learned | ||
|
||
After developing https://github.com/irfansofyana/til-template and deployed it to GitHub actions, I didn't check again whether I can run this project locally or not. | ||
|
||
Turns out I can't. It's because the `__config.yml` specified in the repository is for production build and I need to update it when I do development locally. Hence the solution was to add this flag: | ||
|
||
```bash | ||
--baseurl '' | ||
``` | ||
|
||
in the `docker-compose.yml` file to override the baseUrl in the `__config.yml`. | ||
|
||
It's a shame that I didn't check this earlier. | ||
|
||
Hey this is also my first TIL post on this site! |