Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
coopdevs-provisioning
Manage
Activity
Members
Plan
External wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Github Mirror
coopdevs
coopdevs-provisioning
Commits
fa97d173
Commit
fa97d173
authored
8 years ago
by
Saverio Trioni
Browse files
Options
Downloads
Patches
Plain Diff
Use `git clone --shared` and avoid almost all filesystem work
parent
f2c35ec6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/coopdevs.org/files/post-receive
+1
-1
1 addition, 1 deletion
roles/coopdevs.org/files/post-receive
with
1 addition
and
1 deletion
roles/coopdevs.org/files/post-receive
+
1
−
1
View file @
fa97d173
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment