Changed Ruby bundler setup

This commit is contained in:
NovaRain
2026-06-17 09:45:09 +08:00
parent 8b5f56fd4e
commit ed85d0920b
2 changed files with 8 additions and 5 deletions
+8 -2
View File
@@ -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
-3
View File
@@ -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