fix(deploy): 加固 Redis 持久化与旧环境启动配置

This commit is contained in:
2026-09-23 16:20:55 +08:00
parent 26b1cdcdc6
commit 74ada0b0bf
18 changed files with 405 additions and 15 deletions
+13
View File
@@ -10,6 +10,10 @@ on:
- 'scripts/Test-PublicApiBaseUrl.ps1'
- 'scripts/Initialize-ServerHttpBindIp.ps1'
- 'scripts/Test-ServerHttpBindIp.ps1'
- 'scripts/Initialize-SecurityOrigin.ps1'
- 'scripts/Test-SecurityOrigin.ps1'
- 'scripts/Assert-RedisPersistence.ps1'
- 'scripts/Test-RedisPersistence.ps1'
- '.env.sample'
- '.github/workflows/test-start-ps1.yml'
pull_request:
@@ -20,6 +24,10 @@ on:
- 'scripts/Test-PublicApiBaseUrl.ps1'
- 'scripts/Initialize-ServerHttpBindIp.ps1'
- 'scripts/Test-ServerHttpBindIp.ps1'
- 'scripts/Initialize-SecurityOrigin.ps1'
- 'scripts/Test-SecurityOrigin.ps1'
- 'scripts/Assert-RedisPersistence.ps1'
- 'scripts/Test-RedisPersistence.ps1'
- '.env.sample'
- '.github/workflows/test-start-ps1.yml'
workflow_dispatch:
@@ -69,3 +77,8 @@ jobs:
- name: Test server HTTP bind migration helper
run: |
powershell -ExecutionPolicy Bypass -File .\scripts\Test-ServerHttpBindIp.ps1
- name: Test startup recovery guards
run: |
powershell -ExecutionPolicy Bypass -File .\scripts\Test-SecurityOrigin.ps1
powershell -ExecutionPolicy Bypass -File .\scripts\Test-RedisPersistence.ps1