From dbd9aa54f0c08cfed39d38c2abc30dfe3d557c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Wed, 10 Jun 2026 16:10:09 +0800 Subject: [PATCH] =?UTF-8?q?ci/cd=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy-k3s.ps1 | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-k3s.ps1 b/deploy-k3s.ps1 index 296bb66..6604ed5 100644 --- a/deploy-k3s.ps1 +++ b/deploy-k3s.ps1 @@ -6,7 +6,7 @@ Write-Host "`n[1/7] Handle private dependencies..." -ForegroundColor Yellow if (Test-Path "..\common") { Copy-Item -Path "..\common" -Destination ".\common" -Recurse -Force $content = Get-Content go.mod -Raw - $content = $content -replace 'replace gitea\.com/red-future/common => \.\./common', 'replace gitea.com/red-future/common => ./common' + $content = $content -replace 'replace gitea\.com/red-future/common => \.\./common', 'replace gitea.redpowerfuture.com/red-future/common => ./common' Set-Content go.mod $content -NoNewline Write-Host "[OK] Dependencies ready" -ForegroundColor Green } else { diff --git a/go.mod b/go.mod index 83128a1..431d7a8 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( golang.org/x/sync v0.18.0 ) -replace gitea.com/red-future/common => ../common +replace gitea.redpowerfuture.com/red-future/common => ../common require ( github.com/BurntSushi/toml v1.5.0 // indirect