fix: use direct git clone instead of actions/checkout
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m23s
Run Tests / Backend Tests (push) Failing after 44s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled

Replace actions/checkout@v4 (which requires GitHub access) with
direct git clone from Gitea to avoid network connectivity issues.
This commit is contained in:
Gan, Jimmy
2026-04-06 20:56:41 +08:00
parent 1b7161b82b
commit ce3a5fc6ef
+4 -3
View File
@@ -15,9 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
run: |
git clone --depth 1 http://gitea:3000/jimmy/nas-tools.git .
git fetch --depth 1 origin ${{ github.sha }}
git checkout ${{ github.sha }}
- name: Warm mirror cache for base images
run: |
set -u