mirror of
https://github.com/deadcxap/init_scripts.git
synced 2026-07-02 05:43:40 +03:00
снова правки гита с авторизацией
This commit is contained in:
@@ -272,7 +272,8 @@ setup_role() {
|
||||
run "Cloning role repository (sparse)" bash -c "
|
||||
git --config-env=http.https://github.com/.extraheader=GH_AUTH_HEADER \
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user