Skip to content

Commit 5974e2e

Browse files
committed
Try to fix vercel
1 parent 6fe5550 commit 5974e2e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ npm-install:
8383
fetch-assets:
8484
src/scripts/fetch-assets.sh
8585
fetch-history:
86-
git fetch origin main --depth=50
86+
git fetch origin main:refs/remotes/origin/main \
87+
$$VERCEL_GIT_COMMIT_REF:refs/remotes/origin/$$VERCEL_GIT_COMMIT_REF \
88+
--depth=100
8789
ci-base: build keycaps-simple2 keycaps2 parts parts-simple
8890
ci: fetch-history fetch-assets ci-setup build parts vite-build docs-ci
8991
quickstart: npm-install ci-setup ci-base

0 commit comments

Comments
 (0)