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

Commit

Permalink
make deploy script a bit more cross-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jun 27, 2020
1 parent 6b2ced2 commit f3e9fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git symbolic-ref HEAD refs/heads/gh-pages
git reset $HEAD
git rm --cached -rf ..
cd __sapper__/export
find -type f | cut -c 3- | xargs -I '{}' sh -c 'git update-index --add --cacheinfo 100644,$(git hash-object -w "{}"),"{}"'
find . -type f | cut -c 3- | xargs -I '{}' sh -c 'git update-index --add --cacheinfo 100644,$(git hash-object -w "{}"),"{}"'
git commit -m '[build site]'
git symbolic-ref HEAD $HEAD
git reset
Expand Down

0 comments on commit f3e9fc4

Please sign in to comment.