From 6994d7035c4ebda2a557a7a1b18d5e0b295022c6 Mon Sep 17 00:00:00 2001 From: raghu Date: Mon, 15 Dec 2025 17:52:51 -0500 Subject: [PATCH] check notifications --- .gitea/workflows/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index fe3d2bb..45a3394 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -33,3 +33,22 @@ jobs: - name: Clean up old images run: docker image prune -f + + # Email Notification (on success) + - name: Send success email + if: success() + uses: dawidd6/action-send-mail@v3 + with: + server_address: smtp.gmail.com + server_port: 587 + username: ${{ secrets.EMAIL_USERNAME }} + password: ${{ secrets.EMAIL_PASSWORD }} + subject: '✅ Deployment Successful - rc-portfolio' + to: raghu6004@gmail.com + from: GitHub Actions + body: | + Deployment completed successfully! + Repository: ${{ github.repository }} + Branch: ${{ github.ref }} + Commit: ${{ github.sha }} + Workflow: ${{ github.workflow }}