Skip to content

Commit

Permalink
specify version of ruby and jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
xhluca committed Feb 12, 2024
1 parent d7da27b commit f45b319
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7' # Choose the Ruby version that matches your local development environment

- name: Install Jekyll and dependencies
run: |
gem install jekyll -v 4.2.2
gem install bundler
bundle install
- name: Build the Jekyll site
run: |
bundle exec jekyll build --source ./docs --destination ./_site
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
Expand Down

0 comments on commit f45b319

Please sign in to comment.