fix: use manual checkout instead of GitHub Actions
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Failing after 10m10s
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m22s

Gitea Actions runner cannot fetch actions from GitHub (connection reset).
Revert to manual git clone for checkout and direct tool installation.
This commit is contained in:
Gan, Jimmy
2026-04-04 17:03:22 +08:00
parent 35f0a48953
commit 7dd2d6df9f
3 changed files with 17 additions and 14 deletions
+11 -12
View File
@@ -15,17 +15,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
run: |
git clone --depth 1 --branch ${{ github.ref_name }} http://gitea:3000/jimmy/nas-tools.git .
git checkout ${{ github.sha }}
- name: Install dependencies
run: |
cd dashboard/backend
python -m venv venv
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
@@ -51,12 +48,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
run: |
git clone --depth 1 --branch ${{ github.ref_name }} http://gitea:3000/jimmy/nas-tools.git .
git checkout ${{ github.sha }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
- name: Install dependencies
run: |