Skip to content

Commit

Permalink
attempt setup ruby action with jekyll build pages action
Browse files Browse the repository at this point in the history
  • Loading branch information
mselensky committed May 23, 2024
1 parent 59f3a03 commit 0732071
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
#- name: Setup Ruby
# uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
# with:
# ruby-version: '3.1' # Not needed with a .ruby-version file
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
# cache-version: 0 # Increment this number if you need to re-download cached gems
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- run: bundle exec rake
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
#uses: actions/jekyll-build-pages@v1
#with:
# source: ./
# destination: ./_site
#run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
env:
JEKYLL_ENV: production
- name: Upload artifact
Expand Down

0 comments on commit 0732071

Please sign in to comment.