From e1faacf7a740f35f50461f0717a6675bd778a6e8 Mon Sep 17 00:00:00 2001 From: cat-shark <1716967236@qq.com> Date: Sun, 19 Jul 2026 18:56:02 +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 45e9744..ba4ea91 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-fe + REPO_URL: http://git.cat-shark.xyz/cat-shark/lpt-fe.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: |