fix: use token-based git clone from local Gitea
music-room Playwright (Gitea Actions) / playwright (push) Failing after 18s
music-room Playwright (Gitea Actions) / playwright (push) Failing after 18s
This commit is contained in:
@@ -11,10 +11,13 @@ jobs:
|
|||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
steps:
|
steps:
|
||||||
- name: 检出代码(从本地 Gitea)
|
- name: 检出代码(从本地 Gitea)
|
||||||
|
env:
|
||||||
|
GIT_TOKEN: ${{ secrets.GITEATOKEN }}
|
||||||
run: |
|
run: |
|
||||||
rm -rf /workspace/src
|
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
|
git config --global --add safe.directory /workspace/src
|
||||||
|
ls /workspace/src/package.json
|
||||||
|
|
||||||
- name: 创建 .env.e2e
|
- name: 创建 .env.e2e
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user