From 055e20c28dd3e49155ecefb57d465e12eb649df8 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 22 Jun 2021 12:58:38 -0700 Subject: [PATCH] fix generate-docs bugs part 2 --- hack/generate_docs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/generate_docs.sh b/hack/generate_docs.sh index 6e0806b16e..b900fd921a 100755 --- a/hack/generate_docs.sh +++ b/hack/generate_docs.sh @@ -47,7 +47,7 @@ if [ "$changes" != "" ]; then git add . git commit -m "Update generate-docs" - git remote add minikube-bot https://minikube-bot:$access_token@github.com/minikube-bot/minikube.git + git remote add minikube-bot https://minikube-bot:"$1"@github.com/minikube-bot/minikube.git git push -u minikube-bot $branch - gh pr create --base master --head minikube-bot:$branch --title "Update auto-generated docs and translations" --body "Committing changes resulting from \`make generate-docs\`" + gh pr create --repo kubernetes/minikube --base master --head minikube-bot:$branch --title "Update auto-generated docs and translations" --body "Committing changes resulting from \`make generate-docs\`" fi