Skip to content

Commit 460fdc9

Browse files
authored
Merge pull request #3 from openSVM/copilot/fix-6b375de1-e7b7-461a-ac9e-f8e8daa9a2af
Fix Jekyll GitHub Pages deployment workflow - resolve missing gem executables
2 parents 985b683 + b213a3f commit 460fdc9

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@ jobs:
2929
uses: ruby/setup-ruby@v1
3030
with:
3131
ruby-version: '3.1'
32-
bundler-cache: true
33-
cache-version: 0
32+
working-directory: ./docs
3433
- name: Setup Pages
3534
id: pages
3635
uses: actions/configure-pages@v4
36+
- name: Install dependencies
37+
run: bundle install
38+
working-directory: ./docs
3739
- name: Build with Jekyll
38-
run: |
39-
cd docs
40-
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
40+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
41+
working-directory: ./docs
4142
env:
4243
JEKYLL_ENV: production
4344
- name: Upload artifact

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ docs/.sass-cache/
3636
docs/.jekyll-cache/
3737
docs/.jekyll-metadata
3838
docs/Gemfile.lock
39+
docs/vendor/

docs/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
source "https://rubygems.org"
22

3+
gem "jekyll"
4+
gem "bundler"
35
gem "github-pages", group: :jekyll_plugins
46
gem "jekyll-seo-tag"
57
gem "jekyll-sitemap"

0 commit comments

Comments
 (0)