Commit 26c39d2
committed
fix: include hidden files in preview build artifact (closes #469)
The search index lives in docs/dist/.vocs/ (a hidden directory).
actions/upload-artifact@v4 excludes hidden files by default, so the
.vocs directory was missing from the uploaded artifact. This caused
the search index to be absent from preview deployments, breaking the
native search (/) on all preview URLs.
Adding include-hidden-files: true ensures the .vocs directory (and
any other hidden assets) are included in the artifact.1 parent 2a2c3a4 commit 26c39d2
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
0 commit comments