2026.3.1
This commit is contained in:
1 parent
be2da3e417
commit
db9dc5cc71
2 files changed
+140
-23
No files matched your search
@@ -127,6 +127,9 @@ jobs:
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S')"
|
||||
|
||||
- name: Generate Notification Report
|
||||
run: node scripts/generate_notification_report.js
|
||||
|
||||
- name: Send deployment success notification
|
||||
if: success()
|
||||
uses: dawidd6/action-send-mail@v3
|
||||
@@ -136,29 +139,8 @@ jobs:
|
||||
secure: true
|
||||
username: ${{ secrets.MAIL_USERNAME }}
|
||||
password: ${{ secrets.MAIL_PASSWORD }}
|
||||
subject: 部署成功通知 - ${{ github.repository }}
|
||||
subject: 部署报告 - ${{ steps.date.outputs.date }}
|
||||
to: ${{ secrets.MAIL_USERNAME }}
|
||||
from: GitHub Actions <${{ secrets.MAIL_USERNAME }}>
|
||||
body: |
|
||||
🎉 部署已成功完成!
|
||||
|
||||
📦 仓库信息
|
||||
----------------------------------
|
||||
仓库: ${{ github.repository }}
|
||||
分支: ${{ github.ref_name }}
|
||||
提交: ${{ github.sha }}
|
||||
信息: ${{ github.event.head_commit.message }}
|
||||
|
||||
👤 触发信息
|
||||
----------------------------------
|
||||
触发人: ${{ github.actor }}
|
||||
事件: ${{ github.event_name }}
|
||||
工作流: ${{ github.workflow }}
|
||||
时间: ${{ steps.date.outputs.date }}
|
||||
|
||||
🔗 详情链接
|
||||
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
|
||||
📊 友链监测报告
|
||||
----------------------------------
|
||||
${{ env.LINK_SUMMARY }}
|
||||
${{ env.DEPLOY_REPORT }}
|
||||
Reference in new issue
Block a user