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 }}