Commit Graph

2 Commits

Author SHA1 Message Date
4bb20e5882 fix bug
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Failing after 2m25s
部署后端服务 / 🔄 回滚部署 (push) Failing after 2s
2025-07-15 14:42:31 +08:00
b35ee56848 feat: 优化后端CI/CD配置,使用生产环境PostgreSQL凭据
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Failing after 41s
部署前端网站 / 🧪 测试和构建 (push) Successful in 2m58s
部署后端服务 / 🔄 回滚部署 (push) Failing after 2s
部署前端网站 / 🚀 部署到生产环境 (push) Failing after 4m13s
- 添加生产环境docker-compose.prod.yml,移除PostgreSQL和Redis容器
- 更新CI/CD工作流使用secrets.POSTGRES_PHOTO_USER和secrets.POSTGRES_PHOTO_PWD
- 修复服务名称从backend改为api以匹配配置
- 自动创建生产环境.env文件并注入正确的数据库凭据

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 18:08:52 +08:00