mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Changed Ruby bundler setup
This commit is contained in:
@@ -17,9 +17,15 @@ jobs:
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.2'
|
||||
bundler-cache: true
|
||||
working-directory: docs
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
sudo apt update && sudo apt -y -qq install bundler python3-pip
|
||||
pip3 install ruamel.yaml --user
|
||||
|
||||
- name: Build
|
||||
|
||||
@@ -10,7 +10,4 @@ cd "$site_dir"
|
||||
mkdir -p "$pages_dir"
|
||||
./yaml_to_md.py "$yml_dir/functions.yml" "$yml_dir/hooks.yml" "$pages_dir"
|
||||
|
||||
bundle config set path vendor/bundle
|
||||
bundle update github-pages
|
||||
bundle install
|
||||
bundle exec jekyll build
|
||||
|
||||
Reference in New Issue
Block a user