This is a Jekyll-based blog, containerized with Docker for easy local development and deployed via GitHub Actions.
- Docker installed on your machine.
- That's it! No Ruby or Jekyll installation required on your host.
To start the blog locally:
./run.shThis will:
- Build the Docker image.
- Start the container in the background.
- Serve the blog at
http://localhost:8081.
To stop the running container:
./stop.shThe project is configured to deploy automatically to GitHub Pages using GitHub Actions.
- Push Changes: When you push code to the
master(ormain) branch. - GitHub Action: The workflow defined in
.github/workflows/pages-deploy.ymltriggers. - Build & Deploy: It builds the Jekyll site and deploys the artifacts to the
gh-pagesbranch (or configured Pages environment). - Live Site: Your changes go live on your GitHub Pages URL context.
- _config.yml: Ensure
urlandbaseurlare correctly set for your production environment. - GitHub Settings: Go to Repository Settings -> Pages, and ensure the source is set to "GitHub Actions" or the specific branch pushed by the action.
Create new markdown files in _posts/ with the format YYYY-MM-DD-title.md.