Skip to content

Commit 4ab3816

Browse files
committed
workaround
1 parent e590ebf commit 4ab3816

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy-preview.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,18 @@ jobs:
4040
with:
4141
node-version: "18"
4242

43+
- name: Build Assets
44+
run: npm ci && npm run prod
45+
46+
# Must be run after "npm ci" because installing hugo-bin
47+
# removes the vendor directory that is created by "bundle install"
48+
# https://github.com/fenneclab/hugo-bin/blob/a5500e4f622f46886947d3438243bd97cfe6c04c/lib/install.js#L28-L30
4349
- name: Setup Ruby
4450
uses: ruby/setup-ruby@v1
4551
with:
4652
ruby-version: 2.6
4753
bundler-cache: true
4854

49-
- name: Build Assets
50-
run: npm ci && npm run prod
51-
5255
- name: Fetch Documentation
5356
run: |
5457
python -m pip install poetry

0 commit comments

Comments
 (0)