From d95bcb46adbc799db2f820c605ce6203f4c27382 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Sun, 23 Oct 2022 17:52:52 -0500 Subject: [PATCH] Fixed api generation action --- .github/workflows/openapi-generator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/openapi-generator.yml b/.github/workflows/openapi-generator.yml index 91731a0256..2b8cfea622 100644 --- a/.github/workflows/openapi-generator.yml +++ b/.github/workflows/openapi-generator.yml @@ -58,7 +58,7 @@ jobs: git add . git commit -m "Update SDK" git remote add origin https://immich-app:"${{ secrets.GH_TOKEN }}"@github.com/immich-app/immich-sdk-dart.git - git pull origin main --allow-unrelated-histories + git pull origin main --allow-unrelated-histories --force git push origin main 2>&1 | grep -v 'To https' - name: Generate Rust SDK @@ -79,5 +79,5 @@ jobs: git add . git commit -m "Update SDK" git remote add origin https://immich-app:"${{ secrets.GH_TOKEN }}"@github.com/immich-app/immich-sdk-rust.git - git pull origin main --allow-unrelated-histories + git pull origin main --allow-unrelated-histories --force git push origin main 2>&1 | grep -v 'To https'