[Actions] Pivoting hard to setup-ruby approach

This commit is contained in:
Bill Niblock 2024-02-26 20:45:57 -05:00
parent 1eec651554
commit 06b294feec

View file

@ -1,20 +1,12 @@
on: [push] on: [push]
jobs: jobs:
jekyll: jekyll:
runs-on: docker runs-on: ubuntu-latest
container:
image: jekyll/builder:latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: | - uses: https://github.com/ruby/setup-ruby@v1
ls ${{ github.workspace }} with:
- run: | ruby-version: '3.3' # Not needed with a .ruby-version file
ls $(pwd) bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: | - run: bundle install
cd ${{ github.workspace }} - run: jekyll help
- name: Update Gems
run: bundle update
- name: Build Site
run: jekyll build
- run: |
ls ${{ github.workspace }}