mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-03-12 21:22:57 -07:00
Fix cloud searchindex retry working directory
This commit is contained in:
1
.github/workflows/build_master.yml
vendored
1
.github/workflows/build_master.yml
vendored
@@ -100,6 +100,7 @@ jobs:
|
|||||||
RETRY_COUNT=$((RETRY_COUNT + 1))
|
RETRY_COUNT=$((RETRY_COUNT + 1))
|
||||||
echo "Push attempt ${RETRY_COUNT}/${MAX_RETRIES}"
|
echo "Push attempt ${RETRY_COUNT}/${MAX_RETRIES}"
|
||||||
|
|
||||||
|
cd "${GITHUB_WORKSPACE}"
|
||||||
rm -rf /tmp/searchindex-repo /tmp/searchindex-backup
|
rm -rf /tmp/searchindex-repo /tmp/searchindex-backup
|
||||||
git clone https://x-access-token:${TOKEN}@github.com/${TARGET_REPO}.git /tmp/searchindex-repo
|
git clone https://x-access-token:${TOKEN}@github.com/${TARGET_REPO}.git /tmp/searchindex-repo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user