Skip to content

Commit e6119ef

Browse files
committed
1 parent 3464d5b commit e6119ef

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/jekyll.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,14 @@ jobs:
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v4
36-
- name: Setup Ruby
37-
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
38-
with:
39-
ruby-version: '3.1' # Not needed with a .ruby-version file
40-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
41-
cache-version: 0 # Increment this number if you need to re-download cached gems
4236
- name: Setup Pages
43-
id: pages
4437
uses: actions/configure-pages@v5
4538
- name: Build with Jekyll
46-
# Outputs to the './_site' directory by default
47-
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48-
env:
49-
JEKYLL_ENV: production
39+
uses: actions/jekyll-build-pages@v1
40+
with:
41+
source: ./
42+
destination: ./_site
5043
- name: Upload artifact
51-
# Automatically uploads an artifact from the './_site' directory by default
5244
uses: actions/upload-pages-artifact@v3
5345

5446
# Deployment job

0 commit comments

Comments
 (0)