fix: set gitea checkout base url
Deploy / Deploy Staging (push) Failing after 44s
Deploy / Deploy Production (push) Has been skipped
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled

This commit is contained in:
Xiaoxia AI
2026-06-15 19:59:47 +08:00
parent 38df02514a
commit 2a7201a2a4
3 changed files with 9 additions and 1 deletions
+4
View File
@@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
github-server-url: https://api.xiaoxiajianji.com/git
- name: Sync code to staging workspace
run: |
@@ -68,6 +70,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
github-server-url: https://api.xiaoxiajianji.com/git
- name: Sync code to production workspace
run: |
+4
View File
@@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
github-server-url: https://api.xiaoxiajianji.com/git
- name: Set up Python
uses: actions/setup-python@v4
@@ -41,6 +43,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
github-server-url: https://api.xiaoxiajianji.com/git
- name: Set up Python
uses: actions/setup-python@v4
+1 -1
View File
@@ -80,7 +80,7 @@ mypy packages/ apps/ --ignore-missing-imports
## 故障排查
### Actions 触发了但 checkout 失败
优先检查 runner 能否从 job 容器访问 Gitea 实例地址。
优先检查 runner 能否从 job 容器访问 Gitea 实例地址;如果 Gitea 挂在 `/git` 这类子路径下,需要给 `actions/checkout` 显式传 `github-server-url`
### Deploy 成功但业务链不通
优先检查: