mirror of
https://github.com/cliffe/HacktivityLabSheets.git
synced 2026-02-21 11:18:09 +00:00
Update Gemfile dependencies and GitHub Actions workflow for improved compatibility
- Upgraded Jekyll from 3.10.0 to 4.3.0 and updated related plugins for enhanced functionality. - Modified the Gemfile to specify versions for kramdown, kramdown-parser-gfm, and rouge. - Updated the GitHub Actions workflow to use Ruby 3.1 and optimized the bundler installation process. - Enhanced the Jekyll build command with version checks for better debugging and visibility.
This commit is contained in:
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@@ -24,19 +24,25 @@ jobs:
|
||||
- name: Setup Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.0'
|
||||
ruby-version: '3.1'
|
||||
bundler-cache: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
bundle install
|
||||
gem install bundler --version '~> 2.4'
|
||||
bundle config set --local deployment 'true'
|
||||
bundle config set --local without 'development test'
|
||||
bundle install --jobs 4 --retry 3
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
- name: Build with Jekyll
|
||||
run: |
|
||||
bundle exec jekyll build
|
||||
echo "Ruby version: $(ruby --version)"
|
||||
echo "Bundler version: $(bundle --version)"
|
||||
echo "Jekyll version: $(bundle exec jekyll --version)"
|
||||
bundle exec jekyll build --verbose
|
||||
env:
|
||||
JEKYLL_ENV: production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user