diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml
index 680b5e3..a4f52a2 100644
--- a/.gitea/workflows/deploy.yml
+++ b/.gitea/workflows/deploy.yml
@@ -52,3 +52,17 @@ jobs:
cp -r "$SRC"/. "$DST"/
chmod -R a+rX "$DST"
echo "Deployed tool.xpcool.com -> $DST"
+
+ - name: Notify success (PushPlus)
+ if: success()
+ run: |
+ curl -s -X POST "https://www.pushplus.plus/send" \
+ -H "Content-Type: application/json" \
+ -d '{"token":"5c20feb260304b218fcbe16694288684","title":"✅ 部署成功 tool.xpcool.com","content":"仓库: ${{ github.repository }}
分支: ${{ github.ref_name }}
提交: ${{ github.sha }}
触发人: ${{ github.actor }}
状态: 编译打包部署成功
访问: https://tool.xpcool.com","template":"html"}'
+
+ - name: Notify failure (PushPlus)
+ if: failure()
+ run: |
+ curl -s -X POST "https://www.pushplus.plus/send" \
+ -H "Content-Type: application/json" \
+ -d '{"token":"5c20feb260304b218fcbe16694288684","title":"❌ 部署失败 tool.xpcool.com","content":"仓库: ${{ github.repository }}
分支: ${{ github.ref_name }}
提交: ${{ github.sha }}
触发人: ${{ github.actor }}
状态: 构建或部署失败
日志: https://git.xpcool.com/${{ github.repository }}/actions","template":"html"}'