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