init
This commit is contained in:
parent
f90d7ee523
commit
b631bfb4c2
@ -172,6 +172,7 @@ spec:
|
|||||||
else
|
else
|
||||||
cd "$CLONE_DIR"
|
cd "$CLONE_DIR"
|
||||||
git init
|
git init
|
||||||
|
chmod -R a+rwX .git
|
||||||
git remote add origin $(params.url)
|
git remote add origin $(params.url)
|
||||||
git pull --depth=$(params.depth) origin master --allow-unrelated-histories
|
git pull --depth=$(params.depth) origin master --allow-unrelated-histories
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user