init
This commit is contained in:
parent
072c97e04b
commit
03c3f5e0f7
@ -172,7 +172,8 @@ spec:
|
||||
echo "[INFO] Cloning repository..."
|
||||
mkdir -p "${CLONE_DIR}_"
|
||||
git clone --depth=$(params.depth) $(params.url) "${CLONE_DIR}_"
|
||||
mv "${CLONE_DIR}_/*" "${CLONE_DIR}"
|
||||
cd "${CLONE_DIR}_/"
|
||||
mv * ../"${CLONE_DIR}"
|
||||
fi
|
||||
|
||||
cd "$CLONE_DIR"
|
||||
|
Loading…
x
Reference in New Issue
Block a user