Skip to content

Commit b8815b4

Browse files
committed
Switch to GitHub Pages native Jekyll build
- Use actions/jekyll-build-pages@v1 instead of custom Ruby setup - Simplified Gemfile to use github-pages gem - Removed custom Ruby version and bundler setup - This should resolve all gem installation issues - GitHub Pages will handle Jekyll build natively
1 parent 628fac9 commit b8815b4

File tree

3 files changed

+7
-29
lines changed

3 files changed

+7
-29
lines changed

.github/workflows/pages.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
86

97
permissions:
108
contents: read
@@ -22,28 +20,14 @@ jobs:
2220
- name: Checkout
2321
uses: actions/checkout@v4
2422

25-
- name: Setup Ruby
26-
uses: ruby/setup-ruby@v1
27-
with:
28-
ruby-version: '3.0'
29-
bundler-cache: true
30-
3123
- name: Setup Pages
3224
uses: actions/configure-pages@v4
3325

34-
- name: Debug Ruby and Bundler
35-
run: |
36-
ruby --version
37-
bundler --version
38-
gem list | head -10
39-
40-
- name: Install dependencies
41-
run: bundle install --verbose
42-
4326
- name: Build with Jekyll
44-
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
45-
env:
46-
JEKYLL_ENV: production
27+
uses: actions/jekyll-build-pages@v1
28+
with:
29+
source: ./
30+
destination: ./_site
4731

4832
- name: Upload artifact
4933
uses: actions/upload-pages-artifact@v3

Gemfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
source "https://rubygems.org"
22

3-
# Jekyll and plugins
4-
gem "jekyll", "~> 4.2.0"
5-
6-
group :jekyll_plugins do
7-
gem "jekyll-feed", "~> 0.12"
8-
gem "jekyll-sitemap"
9-
gem "jekyll-seo-tag"
10-
end
3+
# Use GitHub Pages' built-in Jekyll
4+
gem "github-pages", group: :jekyll_plugins
115

126
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
137
# and associated library.

_site/feed.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://localhost:4001/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4001/" rel="alternate" type="text/html" /><updated>2025-09-27T01:32:48+02:00</updated><id>http://localhost:4001/feed.xml</id><title type="html">Yousef Taheri - AI/ML Researcher &amp;amp; Developer</title><subtitle>AI/ML Researcher &amp; Developer specializing in Responsible AI and Ethical Machine Learning</subtitle><author><name>Yousef Taheri</name></author></feed>
1+
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://localhost:4001/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4001/" rel="alternate" type="text/html" /><updated>2025-09-27T01:34:13+02:00</updated><id>http://localhost:4001/feed.xml</id><title type="html">Yousef Taheri - AI/ML Researcher &amp;amp; Developer</title><subtitle>AI/ML Researcher &amp; Developer specializing in Responsible AI and Ethical Machine Learning</subtitle><author><name>Yousef Taheri</name></author></feed>

0 commit comments

Comments
 (0)