Skip to content

Commit 5375475

Browse files
authored
Merge pull request #51 from 1234-ad/fix/github-actions-bundle
Fix GitHub Actions bundle/jekyll setup
2 parents f416fe9 + 5877b71 commit 5375475

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,20 @@ jobs:
1818
with:
1919
node-version: 22
2020

21-
- name: Install dependencies
22-
run: npm ci # Or the appropriate command to install dependencies
21+
- name: Set up Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: '3.1'
25+
bundler-cache: true
26+
working-directory: docs
27+
28+
- name: Install Node.js dependencies
29+
run: npm ci
30+
31+
- name: Install Jekyll dependencies
32+
run: |
33+
cd docs
34+
bundle install
2335
2436
- name: Build the library
2537
run: npm run build
@@ -34,4 +46,4 @@ jobs:
3446
uses: peaceiris/actions-gh-pages@v3
3547
with:
3648
github_token: ${{ secrets.GITHUB_TOKEN }}
37-
publish_dir: ./dist
49+
publish_dir: ./dist

0 commit comments

Comments
 (0)