From 3bd9a9cc73b35134468559a3c63fde1518113c40 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Thu, 24 Sep 2020 00:30:50 +0800 Subject: [PATCH] Update api_docs.yml --- .github/workflows/api_docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api_docs.yml b/.github/workflows/api_docs.yml index 69b88640..4b3b83ef 100644 --- a/.github/workflows/api_docs.yml +++ b/.github/workflows/api_docs.yml @@ -37,4 +37,6 @@ jobs: git config user.email nonebot@nonebot.dev git add . git diff-index --quiet HEAD || git commit -m ":memo: update api docs" - git push origin HEAD:${{github.event.pull_request.head.ref}} + git remote -vv + git remote add target ${{github.event.pull_request.head.repo.clone_url}} + git push target HEAD:${{github.event.pull_request.head.ref}}