diff --git a/hack/generate_docs.sh b/hack/generate_docs.sh index 6e0806b16e56..b900fd921ace 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