снова правки гита с авторизацией

This commit is contained in:
2025-08-25 00:10:05 +03:00
parent 52d2046e9b
commit fd145ad7a1
+2 -1
View File
@@ -272,7 +272,8 @@ setup_role() {
run "Cloning role repository (sparse)" bash -c " run "Cloning role repository (sparse)" bash -c "
git --config-env=http.https://github.com/.extraheader=GH_AUTH_HEADER \ git --config-env=http.https://github.com/.extraheader=GH_AUTH_HEADER \
clone --depth=1 --filter=blob:none --sparse "$REPO_URL" "$TEMP_DIR" && clone --depth=1 --filter=blob:none --sparse "$REPO_URL" "$TEMP_DIR" &&
git -C "$TEMP_DIR" sparse-checkout set "$ROLE" git --config-env=http.https://github.com/.extraheader=GH_AUTH_HEADER \
-C "$TEMP_DIR" sparse-checkout set "$ROLE"
" "
ROLE_SRC="$TEMP_DIR/$ROLE" ROLE_SRC="$TEMP_DIR/$ROLE"