Update pages-deploy.yml

Fix error `An error occurred while installing google-protobuf (3.25.2), and Bundler cannot`
See https://talk.jekyllrb.com/t/build-error-at-setup-ruby-stage-of-build-and-deploy-on-actions/8782/4
This commit is contained in:
Peter 2024-02-15 02:08:10 +08:00 committed by GitHub
parent 29cd090661
commit 8f2759dd43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby - name: Setup Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted ruby-version: 3.2 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
bundler-cache: true bundler-cache: true
- name: Build site - name: Build site