Explorar o código

Fixed api generation action

Alex Tran %!s(int64=2) %!d(string=hai) anos
pai
achega
d95bcb46ad
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .github/workflows/openapi-generator.yml

+ 2 - 2
.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'