File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
17name : Deploy Jekyll site to Pages
28
39on :
@@ -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
You can’t perform that action at this time.
0 commit comments