From 94202e7bce4fe3ab7f6c555c33844f586ab43812 Mon Sep 17 00:00:00 2001 From: maidong Date: Mon, 6 Jul 2026 10:02:59 +0800 Subject: [PATCH] ci: authenticate checkout clone for private repo --- .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 0f885ee..07597c2 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: |