fix: rm -rf /workspace before git clone
music-room Playwright (Gitea Actions) / playwright (push) Failing after 18s

This commit is contained in:
2026-05-03 11:12:27 +08:00
parent fbb6e98cda
commit f51b57ee5e
+2 -3
View File
@@ -12,9 +12,8 @@ jobs:
steps:
- name: 检出代码(从本地 Gitea
run: |
mkdir -p /workspace
cd /workspace
git clone http://127.0.0.1:3000/weli/huike-e2e-moicen.git .
rm -rf /workspace
git clone http://127.0.0.1:3000/weli/huike-e2e-moicen.git /workspace
git config --global --add safe.directory /workspace
- name: 创建 .env.e2e