From 3ece608fa730c52d5b8e207326d918a310ba7315 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Mon, 16 Jan 2023 12:44:25 +1100 Subject: [PATCH] ensure that swagger doc branch is updated from main (#257) --- .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 7f741181a..483dc8666 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 --set-upstream origin main_swagger + git push --force --set-upstream origin main_swagger fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}