From ffa73c48e430e80033974886ff8bdcc497cb5f7a Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Fri, 13 Jan 2023 10:38:27 +1100 Subject: [PATCH] push to main_swagger (#254) needs to set the remote branch --- .github/workflows/swagger-doc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swagger-doc.yml b/.github/workflows/swagger-doc.yml index 2c1bba362..7f741181a 100644 --- a/.github/workflows/swagger-doc.yml +++ b/.github/workflows/swagger-doc.yml @@ -36,7 +36,7 @@ jobs: git checkout -B main_swagger git add .; \ git commit -m "gen OpenAPI Spec by github-actions"; \ - git push + git push --set-upstream origin main_swagger fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}