[Actions] Pivoting hard to setup-ruby approach
This commit is contained in:
parent
1eec651554
commit
06b294feec
1 changed files with 7 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue