feat: 移除部署通知功能
Some checks failed
部署前端网站 / 🧪 测试和构建 (push) Has been cancelled
部署前端网站 / 🚀 部署到生产环境 (push) Has been cancelled
部署管理后台 / 🚀 部署到生产环境 (push) Has been cancelled
部署管理后台 / 🔄 回滚部署 (push) Has been cancelled
部署管理后台 / 🔒 安全扫描 (push) Has been cancelled
部署管理后台 / 🧪 测试和构建 (push) Has been cancelled
部署后端服务 / 🚀 构建并部署 (push) Has been cancelled
Some checks failed
部署前端网站 / 🧪 测试和构建 (push) Has been cancelled
部署前端网站 / 🚀 部署到生产环境 (push) Has been cancelled
部署管理后台 / 🚀 部署到生产环境 (push) Has been cancelled
部署管理后台 / 🔄 回滚部署 (push) Has been cancelled
部署管理后台 / 🔒 安全扫描 (push) Has been cancelled
部署管理后台 / 🧪 测试和构建 (push) Has been cancelled
部署后端服务 / 🚀 构建并部署 (push) Has been cancelled
- 从前端、后端和管理员的部署工作流中移除了发送Telegram通知的步骤 - 该更改简化了部署流程,减少了不必要的通知 此更新有助于提高部署的简洁性和效率。
This commit is contained in:
@ -272,26 +272,6 @@ jobs:
|
||||
echo "📋 请记住手动运行数据库迁移:"
|
||||
echo " docker compose exec api ./main migrate"
|
||||
|
||||
- name: 📧 发送部署通知
|
||||
if: always()
|
||||
uses: appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: |
|
||||
🔧 摄影作品集后端部署
|
||||
|
||||
📦 项目: ${{ github.repository }}
|
||||
🌿 分支: ${{ github.ref_name }}
|
||||
👤 提交者: ${{ github.actor }}
|
||||
📝 提交信息: ${{ github.event.head_commit.message }}
|
||||
|
||||
${{ job.status == 'success' && '✅ 部署成功' || '❌ 部署失败' }}
|
||||
|
||||
${{ job.status == 'success' && '⚠️ 请记住手动运行数据库迁移: docker compose exec api ./main migrate' || '' }}
|
||||
|
||||
🌐 API: https://api.photography.iriver.top/health
|
||||
📊 监控: https://admin.photography.iriver.top
|
||||
|
||||
# rollback:
|
||||
# name: 🔄 回滚部署
|
||||
|
||||
Reference in New Issue
Block a user