From 471aae29790bd4cd1732add60bdff06cc4b368b4 Mon Sep 17 00:00:00 2001 From: Catherine Lee Date: Fri, 21 Oct 2022 15:39:08 -0700 Subject: [PATCH] update --- .circleci/scripts/cpp_doc_push_script.sh | 3 +-- .circleci/scripts/python_doc_push_script.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/scripts/cpp_doc_push_script.sh b/.circleci/scripts/cpp_doc_push_script.sh index e333324fdfca..6e66514ae93b 100755 --- a/.circleci/scripts/cpp_doc_push_script.sh +++ b/.circleci/scripts/cpp_doc_push_script.sh @@ -99,10 +99,9 @@ git status if [[ "${WITH_PUSH:-}" == true ]]; then # push to a temp branch first to trigger CLA check and satisfy branch protections - git push -u origin pytorchbot/temp-branch-cpp -f + git push -u origin HEAD:pytorchbot/temp-branch-cpp -f sleep 30 git push -u origin - git push origin --delete pytorchbot/temp-branch-cpp fi popd diff --git a/.circleci/scripts/python_doc_push_script.sh b/.circleci/scripts/python_doc_push_script.sh index 3dff2da53b81..d255f77c82e8 100755 --- a/.circleci/scripts/python_doc_push_script.sh +++ b/.circleci/scripts/python_doc_push_script.sh @@ -136,10 +136,9 @@ git status if [[ "${WITH_PUSH:-}" == true ]]; then # push to a temp branch first to trigger CLA check and satisfy branch protections - git push -u origin pytorchbot/temp-branch-py -f + git push -u origin HEAD:pytorchbot/temp-branch-py -f sleep 30 git push -u origin "${branch}" - git push origin --delete pytorchbot/temp-branch-py fi popd