Skip to content

Commit 2645782

Browse files
morisyclaude
andcommitted
Update Jekyll to latest GitHub Pages version and fix blog issues
- Update Gemfile to use github-pages v231 with necessary dependencies - Fix incomplete post filenames and dates - Add proper Jekyll entries to .gitignore - Create modern GitHub Actions workflow for deployment - Fix future-dated post to use correct past date This resolves build issues and ensures compatibility with latest Jekyll. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 312d698 commit 2645782

5 files changed

Lines changed: 74 additions & 5 deletions

File tree

.github/workflows/github-pages.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: ["main", "master"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- name: Setup Pages
24+
uses: actions/configure-pages@v4
25+
- name: Build with Jekyll
26+
uses: actions/jekyll-build-pages@v1
27+
with:
28+
source: ./
29+
destination: ./_site
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v3
32+
33+
deploy:
34+
environment:
35+
name: github-pages
36+
url: ${{ steps.deployment.outputs.page_url }}
37+
runs-on: ubuntu-latest
38+
needs: build
39+
steps:
40+
- name: Deploy to GitHub Pages
41+
id: deployment
42+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,13 @@ _site
77
.DS_Store
88
Thumbs.db
99
ehthumbs.db
10+
11+
# Jekyll
12+
.jekyll-cache
13+
.jekyll-metadata
14+
vendor
15+
16+
# Bundler
17+
.bundle
18+
vendor/bundle
19+
Gemfile.lock

Gemfile

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
source 'https://rubygems.org'
22

3-
gem "github-pages", group: :jekyll_plugins
4-
5-
# enable tzinfo-data for local build
6-
# gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
3+
gem "github-pages", "~> 231", group: :jekyll_plugins
74
gem 'jekyll-paginate'
5+
6+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
7+
# and associated library.
8+
platforms :mingw, :x64_mingw, :mswin, :jruby do
9+
gem "tzinfo", ">= 1", "< 3"
10+
gem "tzinfo-data"
11+
end
12+
13+
# Performance-booster for watching directories on Windows
14+
gem "wdm", "~> 0.1", :install_if => Gem.win_platform?
15+
16+
# kramdown v2 ships without the gfm parser by default. If you're using
17+
# kramdown v1, comment out this line.
18+
gem "kramdown-parser-gfm"
19+
20+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
21+
# do not have a Java counterpart.
22+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
23+
24+
gem "webrick", "~> 1.8"
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
33
title: Django Hosting
4-
created: 2025-06-06 9:00:00
4+
date: 2023-06-06 9:00:00
55
---
66

77
* Zappa library (https://github.com/zappa/Zappa) which lets you run a django app on AWS Lambda. but it requires stringing a few aws services together (lambda, api gateway, s3, maybe RDS for your database) and I am not sure how the costs all shake out.

0 commit comments

Comments
 (0)