浏览代码

Fixed api generation action

Alex Tran 2 年之前
父节点
当前提交
d95bcb46ad
共有 1 个文件被更改,包括 2 次插入2 次删除
  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'