Skip to content
Snippets Groups Projects
Commit fa97d173 authored by Saverio Trioni's avatar Saverio Trioni
Browse files

Use `git clone --shared` and avoid almost all filesystem work

parent f2c35ec6
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ GIT_REPO=$HOME/repos/coopdevs.github.io.git
TMP_GIT_CLONE=$HOME/tmp/git/coopdevs.github.io
PUBLIC_WWW=/opt/sites/coopdevs
git clone $GIT_REPO $TMP_GIT_CLONE
git clone --shared $GIT_REPO $TMP_GIT_CLONE
jekyll build --source $TMP_GIT_CLONE --destination $PUBLIC_WWW
rm -Rf $TMP_GIT_CLONE
exit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment