From 52b77a2ae027e6a0644935d3c017ba4d3a2104ca Mon Sep 17 00:00:00 2001 From: cheney Date: Thu, 16 Apr 2026 13:46:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=A5=E4=BD=9C=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index a0a2fe7..231f4db 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -17,7 +17,10 @@ jobs: - name: Install dependencies and build run: | - docker run --rm -v "${PWD}:/app" -w /app node:24-alpine sh -c "npm install --registry=https://registry.npmmirror.com && npm run build" + echo "Current directory: $(pwd)" + echo "GitHub workspace: $GITHUB_WORKSPACE" + ls -la + docker run --rm -v "$GITHUB_WORKSPACE:/app" -w /app node:20 sh -c "ls -la && npm install --registry=https://registry.npmmirror.com && npm run build" - name: Deploy to server uses: appleboy/scp-action@v0.1.7