From 0c0f3bb6d8d49acb768b111d8926eb567effe485 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Sat, 4 Apr 2026 15:15:06 +0800 Subject: [PATCH] fix: manually clone repo from Gitea in test workflow --- .gitea/workflows/test.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 4ebf728..65cb5c5 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -14,11 +14,10 @@ jobs: SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum steps: - - name: Debug workspace + - name: Checkout repository run: | - pwd - ls -la - find . -name "dashboard" -type d 2>/dev/null || echo "dashboard not found" + git clone http://gitea:3000/jimmy/nas-tools.git . + git checkout ${{ github.sha }} - name: Install Python run: | @@ -48,6 +47,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout repository + run: | + git clone http://gitea:3000/jimmy/nas-tools.git . + git checkout ${{ github.sha }} + - name: Install Node.js run: | curl -fsSL https://deb.nodesource.com/setup_20.x | bash -