Skip to content

Commit 06e33cd

Browse files
authored
Update jekyll.yml
1 parent 28f712d commit 06e33cd

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/jekyll.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,27 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10-
10+
1111
steps:
1212
- uses: actions/checkout@v4
13-
13+
1414
- name: Setup Ruby
1515
uses: ruby/setup-ruby@v1
1616
with:
17-
ruby-version: '3.1.2' # stable for Jekyll 4+
18-
bundler-cache: true
19-
bundler: '2.4.15' # <-- force Bundler 2
20-
21-
- name: Install dependencies
22-
run: bundle install
23-
17+
ruby-version: '3.0' # Change from 3.1.2 to 3.0 for better compatibility
18+
bundler-cache: false # Disable cache temporarily to avoid lock file issues
19+
20+
- name: Clean and install dependencies
21+
run: |
22+
rm -f Gemfile.lock # Remove old lock file
23+
bundle install
24+
2425
- name: Build site
2526
run: bundle exec jekyll build
26-
27+
2728
- name: Deploy to GitHub Pages
2829
uses: peaceiris/actions-gh-pages@v3
2930
with:
3031
github_token: ${{ secrets.GITHUB_TOKEN }}
3132
publish_dir: ./_site
32-
publish_branch: gh-pages # same branch you're editing
33+
publish_branch: gh-pages

0 commit comments

Comments
 (0)