初始化询价智能体新仓:同步本地工程并排除密钥与 .env。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$ErrorActionPreference = "Continue"
|
||||
Write-Output "=== admin-secrets.env? ==="
|
||||
Test-Path "E:\wwwroot\ops\admin-secrets.env"
|
||||
if (Test-Path "E:\wwwroot\ops\admin-secrets.env") {
|
||||
Get-Content "E:\wwwroot\ops\admin-secrets.env" | ForEach-Object {
|
||||
if ($_ -match '^([^=]+)=') { $matches[1] }
|
||||
}
|
||||
}
|
||||
Write-Output "=== sql files ==="
|
||||
Get-ChildItem "E:\wwwroot\ops\sql" | Select-Object Name, Length
|
||||
Write-Output "=== secrets json exists ==="
|
||||
Test-Path "E:\wwwroot\ops\inquiry_robot_db_secrets.json"
|
||||
Write-Output "DONE"
|
||||
Reference in New Issue
Block a user