From c1bd7863209d74c6c0df601e45cea1f5d6c69757 Mon Sep 17 00:00:00 2001 From: maidong Date: Mon, 6 Jul 2026 10:02:09 +0800 Subject: [PATCH] ci: authenticate checkout clone for private repo [skip ci] --- .gitea/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 78e3255..353f4c4 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout run: | - git clone --depth=1 --branch=${{ github.ref_name }} https://gitea.airlabs.art/${{ github.repository }}.git . + git clone --depth=1 --branch=${{ github.ref_name }} https://x:${{ secrets.GITHUB_TOKEN }}@gitea.airlabs.art/${{ github.repository }}.git . - name: Set environment by branch run: |