Skip to content

Commit 4975990

Browse files
committed
2 parents 8e77a6d + 1f8c189 commit 4975990

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
17
name: Deploy Jekyll site to Pages
28

39
on:
@@ -27,23 +33,21 @@ jobs:
2733
steps:
2834
- name: Checkout
2935
uses: actions/checkout@v4
30-
3136
- name: Setup Ruby
32-
uses: ruby/setup-ruby@v1
37+
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
38+
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
3339
with:
34-
ruby-version: '3.1'
40+
ruby-version: '3.1' # Not needed with a .ruby-version file
3541
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
36-
42+
cache-version: 0 # Increment this number if you need to re-download cached gems
3743
- name: Setup Pages
3844
id: pages
3945
uses: actions/configure-pages@v5
40-
4146
- name: Build with Jekyll
4247
# Outputs to the './_site' directory by default
4348
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
4449
env:
4550
JEKYLL_ENV: production
46-
4751
- name: Upload artifact
4852
# Automatically uploads an artifact from the './_site' directory by default
4953
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)