optimize clone
This commit is contained in:
parent
7b222d9edb
commit
d9fd4b36e2
|
@ -51,14 +51,14 @@ function minifyCSS {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Getting files..."
|
echo "Getting files..."
|
||||||
git clone -b $REPO_BRANCH --single-branch git@github.com:LDAPAccountManager/lam.git github
|
git clone --depth 1 -b $REPO_BRANCH --single-branch git@github.com:LDAPAccountManager/lam.git github
|
||||||
cd github
|
cd github
|
||||||
mv lam ../
|
mv lam ../
|
||||||
mv lam-packaging ../
|
mv lam-packaging ../
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf github
|
rm -rf github
|
||||||
|
|
||||||
git clone -b $REPO_BRANCH --single-branch git@gitlab.com:LDAPAccountManager/lamPro.git lamPro
|
git clone --depth 1 -b $REPO_BRANCH --single-branch git@gitlab.com:LDAPAccountManager/lamPro.git lamPro
|
||||||
cd lamPro
|
cd lamPro
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
rm -rf docker
|
rm -rf docker
|
||||||
|
|
Loading…
Reference in New Issue