fix: use token-based git clone from local Gitea
music-room Playwright (Gitea Actions) / playwright (push) Failing after 18s

This commit is contained in:
2026-05-03 11:16:59 +08:00
parent a46cae211a
commit 859d8c67da
+4 -1
View File
@@ -11,10 +11,13 @@ jobs:
timeout-minutes: 45
steps:
- name: 检出代码(从本地 Gitea
env:
GIT_TOKEN: ${{ secrets.GITEATOKEN }}
run: |
rm -rf /workspace/src
git clone http://127.0.0.1:3000/weli/huike-e2e-moicen.git /workspace/src
git clone http://${GIT_TOKEN}@127.0.0.1:3000/weli/huike-e2e-moicen.git /workspace/src
git config --global --add safe.directory /workspace/src
ls /workspace/src/package.json
- name: 创建 .env.e2e
env: