Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit f3e9fc4

Browse files
committed
make deploy script a bit more cross-platform
1 parent 6b2ced2 commit f3e9fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/scripts/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ git symbolic-ref HEAD refs/heads/gh-pages
44
git reset $HEAD
55
git rm --cached -rf ..
66
cd __sapper__/export
7-
find -type f | cut -c 3- | xargs -I '{}' sh -c 'git update-index --add --cacheinfo 100644,$(git hash-object -w "{}"),"{}"'
7+
find . -type f | cut -c 3- | xargs -I '{}' sh -c 'git update-index --add --cacheinfo 100644,$(git hash-object -w "{}"),"{}"'
88
git commit -m '[build site]'
99
git symbolic-ref HEAD $HEAD
1010
git reset

0 commit comments

Comments
 (0)