File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,15 @@ jobs:
22
22
git fetch origin main --depth 1
23
23
git branch
24
24
25
- # Use GitHub Actions' cache to shorten build times and decrease load on servers
26
- - name : Use cache to shorten build time
27
- uses : actions/cache@v4
25
+ - name : Setup Ruby
26
+ uses : ruby/setup-ruby@1
28
27
with :
29
- path : vendor/bundle
30
- key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
31
- restore-keys : |
32
- ${{ runner.os }}-gems-
28
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
33
29
34
- - name : Build Jekyll site
35
- uses : helaili/jekyll-action@v2
36
- with :
37
- build_only : true
38
- build_dir : _site
30
+ - name : Build with Jekyll
31
+ run : bundle exec jekyll build
32
+ env :
33
+ JEKYLL_ENV : production
39
34
40
35
- name : Check links with lychee
41
36
id : lychee
You can’t perform that action at this time.
0 commit comments