Skip to content

Commit db3d74d

Browse files
committed
Remove no-build from preview deploy options
1 parent 1cc4201 commit db3d74d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/preview.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
env:
3737
CONTEXT: deploy-preview
3838
NETLIFY: true
39-
run: yarn build --out-dir build/docs
39+
run: yarn prebuild && yarn build --out-dir build/docs
4040

4141
- name: Deploy to Netlify
4242
id: netlify
@@ -46,7 +46,6 @@ jobs:
4646
run: |
4747
PREVIEW_URL=$(netlify deploy \
4848
--dir=build \
49-
--no-build \
5049
--auth=$NETLIFY_AUTH_TOKEN \
5150
--site=$NETLIFY_SITE_ID \
5251
--alias=preview-${{ github.event.pull_request.number }} \

0 commit comments

Comments
 (0)