Skip to content

Commit

Permalink
try ruby/setup-ruby action
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Aug 9, 2023
1 parent bc00e16 commit e3c4038
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
# install rvm and ruby 2.2
- run: sudo apt-get -y install software-properties-common
- run: sudo apt-add-repository -y ppa:rael-gc/rvm
- run: sudo apt-get update
- run: sudo apt-get install rvm
- run: sudo usermod -a -G rvm $USER
- run: . /etc/profile.d/rvm.sh
- run: rvm install 2.2
- run: rvm use 2.2
- run: sudo gem install bundler -v 2.1.4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.2'
bundler-cache: true
#- run: sudo gem install bundler -v 2.1.4
# TODO use npm run install-jekyll?
- run: sudo ./bin/install-jekyll.sh
# TODO use npm run build-site?
Expand Down

0 comments on commit e3c4038

Please sign in to comment.