From 270e90cab586944f3a6e95812ba9d98ed181bdb0 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Wed, 8 Jul 2026 22:59:14 +0800 Subject: [PATCH] fix(ci): change main backend-tests to vps runner with correct checkout URL --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c4acc1a..55a321c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,7 +14,7 @@ concurrency: jobs: backend-tests: name: Backend Tests - runs-on: ubuntu-latest + runs-on: vps env: SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum @@ -22,7 +22,7 @@ jobs: - name: Checkout repository run: | if [ ! -d .git ]; then - git clone --depth=1 "http://172.21.0.1:3300/${GITHUB_REPOSITORY}.git" . + git clone --depth=1 --branch "$GITHUB_REF_NAME" "http://100.78.131.124:3300/${GITHUB_REPOSITORY}.git" . fi - name: Setup Python