[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]
|
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 }}
|
|
||||||
|
|
Loading…
Reference in a new issue