From e9b9a4fd2ffa0445e5d24f3246f38b0f45d053fb Mon Sep 17 00:00:00 2001 From: repair-agent Date: Thu, 2 Apr 2026 16:17:16 +0800 Subject: [PATCH] fix: replace actions/checkout with git clone from Gitea Completely eliminate GitHub dependency in CI/CD pipeline. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7e3424f..c23243c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -11,7 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + run: | + git clone --depth=1 --branch=${{ github.ref_name }} https://gitea.airlabs.art/${{ github.repository }}.git . - name: Set environment by branch run: |