Skip to content

Commit a7e817d

Browse files
sneakers-the-ratlwasser
authored andcommitted
update other page build action to just use ruby and bundler
1 parent d0eee59 commit a7e817d

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/build-site.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,15 @@ jobs:
2222
git fetch origin main --depth 1
2323
git branch
2424
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
2827
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
3329

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
3934

4035
- name: Check links with lychee
4136
id: lychee

0 commit comments

Comments
 (0)