fixed a url bug
This commit is contained in:
parent
4072d33bed
commit
fe9ae61200
|
|
@ -26,7 +26,9 @@ jobs:
|
|||
|
||||
# 2. 构造带有身份验证的 Git URL
|
||||
# 我们将使用您用于 Docker 登录的 gitea.actor 和 secrets.cicd
|
||||
# gitea.repository_url = http://192.168.0.75:3000/guanyuankai/bonus-edge-proxy
|
||||
|
||||
gitea.repository_url = http://192.168.0.75:3000/guanyuankai/bonus-edge-proxy
|
||||
|
||||
# 转换后 = http://guanyuankai:YOUR_SECRET@192.168.0.75:3000/guanyuankai/bonus-edge-proxy.git
|
||||
echo "构造 Git URL..."
|
||||
REPO_URL_WITH_CREDS=$(echo "${{ gitea.repository_url }}" | sed "s|://|://${{ gitea.actor }}:${{ secrets.cicd }}@|").git
|
||||
|
|
|
|||
Loading…
Reference in New Issue