Skip to content

Commit 1c0dd3c

Browse files
committed
fix: explicitly copy custom Jekyll templates to _jekyll directory
1 parent 5d07478 commit 1c0dd3c

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/verify.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ jobs:
179179
- name: Inject minified code into documentation
180180
shell: bash
181181
run: python3 .verify-helper/scripts/inject_minified_docs.py
182+
- name: Copy custom Jekyll templates
183+
shell: bash
184+
run: cp -r .verify-helper/docs/static/* _jekyll/ 2>/dev/null || true
182185
- name: Save result
183186
uses: actions/cache/save@v4
184187
with:
@@ -203,19 +206,12 @@ jobs:
203206
run: |
204207
git config user.name "github-actions[bot]"
205208
git config user.email "github-actions[bot]@users.noreply.github.com"
206-
changes=false
207209
210+
# Only commit minified source files, not bundled versions
211+
# Bundled versions are generated during CI and used for docs injection,
212+
# but we don't store them in the repo to avoid bloat
208213
if [ -n "$(git status cp-algo/min/ --porcelain)" ]; then
209214
git add cp-algo/min/
210-
changes=true
211-
fi
212-
213-
if [ -n "$(git status cp-algo/min-bundled/ --porcelain)" ]; then
214-
git add cp-algo/min-bundled/
215-
changes=true
216-
fi
217-
218-
if [ "$changes" = true ]; then
219215
git commit -m "chore: update minified library versions"
220216
git push
221217
else

0 commit comments

Comments
 (0)