Replace wildcard safe directory with htdocs
This commit is contained in:
parent
db0ac992fe
commit
6e2c65572f
@ -47,7 +47,7 @@ case $SOURCE in
|
||||
git config --global user.email "autodeploy@jafner.tools"
|
||||
git config --global user.name "AutoDeploy"
|
||||
git config --global pull.rebase false # Squelch nag message
|
||||
git config --global --add safe.directory '*' # Disable directory ownership checking, required for mounted volumes
|
||||
git config --global --add safe.directory '/usr/local/apache2/htdocs' # Disable directory ownership checking, required for mounted volumes
|
||||
git clone --filter=blob:none --no-checkout $DL_LINK . # clone the repo with no files and no object history
|
||||
git config core.sparseCheckout true # enable sparse checkout
|
||||
git sparse-checkout init
|
||||
|
Loading…
Reference in New Issue
Block a user