Skip to content

Commit 9807f79

Browse files
authored
ci: fix building the search index (#172)
1 parent b51cb0c commit 9807f79

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy-production.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,18 @@ jobs:
2929
with:
3030
node-version: "18"
3131

32+
- name: Build Assets
33+
run: npm ci && npm run prod
34+
35+
# Ruby must be set up after running "npm ci" because installing hugo-bin via npm
36+
# removes the vendor directory that is created by "bundle install"
37+
# https://github.com/fenneclab/hugo-bin/blob/a5500e4f622f46886947d3438243bd97cfe6c04c/lib/install.js#L28-L30
3238
- name: Setup Ruby
3339
uses: ruby/setup-ruby@v1
3440
with:
3541
ruby-version: 2.6
3642
bundler-cache: true
3743

38-
- name: Build Assets
39-
run: npm ci && npm run prod
40-
4144
- name: Fetch Documentation
4245
run: |
4346
python -m pip install poetry

0 commit comments

Comments
 (0)