From f59761432b86d6efc9052e70dc322a42425fb07b Mon Sep 17 00:00:00 2001 From: cat-shark <1716967236@qq.com> Date: Sun, 19 Jul 2026 18:56:03 +0800 Subject: [PATCH] ci: replace actions/checkout with git clone (no Node.js in runner) --- .gitea/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c06781b..8316ead 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,12 +14,16 @@ on: env: REGISTRY: 192.168.123.199:5000 APP: lpt-ai + REPO_URL: http://git.cat-shark.xyz/cat-shark/lpt-ai.git jobs: build-and-deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout code + run: | + git clone $REPO_URL . + git checkout ${{ github.sha }} - name: Build & Push Docker image run: |