test 77
Some checks failed
Deploy Portfolio / deploy (push) Failing after 1m34s

This commit is contained in:
2025-12-15 18:30:15 -05:00
parent 4c87b76e21
commit 6f22fcbd90

View File

@@ -38,9 +38,15 @@ jobs:
- name: Send success email - name: Send success email
if: success() if: success()
run: | run: |
echo "Subject: Deployment Successful - Portfolio cat > /tmp/email.txt << 'ENDMAIL'
From: GitHub Actions
To: raghu6004@gmail.com
Subject: Deployment Successful - Portfolio
Deployment completed successfully! Deployment completed successfully!
Repository: ${{ github.repository }} Repository: ${{ github.repository }}
Branch: ${{ github.ref_name }} Branch: ${{ github.ref_name }}
Commit: ${{ github.sha }}" | mail -s "Deployment Successful" raghu6004@gmail.com Commit: ${{ github.sha }}
ENDMAIL
curl --ssl-reqd --url smtps://smtp.gmail.com:465 --user "${{ secrets.EMAIL_USERNAME }}:${{ secrets.EMAIL_PASSWORD }}" --mail-from "${{ secrets.EMAIL_USERNAME }}" --mail-rcpt raghu6004@gmail.com --upload-file /tmp/email.txt
rm /tmp/email.txt