File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build :
9
9
runs-on : ubuntu-latest
10
-
10
+
11
11
steps :
12
12
- uses : actions/checkout@v4
13
-
13
+
14
14
- name : Setup Ruby
15
15
uses : ruby/setup-ruby@v1
16
16
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
+
24
25
- name : Build site
25
26
run : bundle exec jekyll build
26
-
27
+
27
28
- name : Deploy to GitHub Pages
28
29
uses : peaceiris/actions-gh-pages@v3
29
30
with :
30
31
github_token : ${{ secrets.GITHUB_TOKEN }}
31
32
publish_dir : ./_site
32
- publish_branch : gh-pages # same branch you're editing
33
+ publish_branch : gh-pages
You can’t perform that action at this time.
0 commit comments