Skip to content

Commit

Permalink
ci: fix building the search index (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering authored Jan 2, 2025
1 parent b51cb0c commit 9807f79
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,18 @@ jobs:
with:
node-version: "18"

- name: Build Assets
run: npm ci && npm run prod

# Ruby must be set up after running "npm ci" because installing hugo-bin via npm
# removes the vendor directory that is created by "bundle install"
# https://github.com/fenneclab/hugo-bin/blob/a5500e4f622f46886947d3438243bd97cfe6c04c/lib/install.js#L28-L30
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true

- name: Build Assets
run: npm ci && npm run prod

- name: Fetch Documentation
run: |
python -m pip install poetry
Expand Down

0 comments on commit 9807f79

Please sign in to comment.