feat: add email notification for build job status
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 2m39s
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 2m39s
This commit is contained in:
@@ -148,3 +148,12 @@ jobs:
|
|||||||
echo "Starting new test environment..."
|
echo "Starting new test environment..."
|
||||||
docker-compose -f docker-compose.test.yml pull
|
docker-compose -f docker-compose.test.yml pull
|
||||||
docker-compose -f docker-compose.test.yml up -d
|
docker-compose -f docker-compose.test.yml up -d
|
||||||
|
|
||||||
|
- name: Send mail
|
||||||
|
if: always() # Runs on success or failure
|
||||||
|
uses: dawidd6/action-send-mail@v3
|
||||||
|
with:
|
||||||
|
to: ryan.kegel+gitea@gmail.com
|
||||||
|
from: Gitea <git@git.ryankegel.com>
|
||||||
|
subject: ${{ github.repository }} - Job ${{ job.status }}
|
||||||
|
body: Build finished with status ${{ job.status }}
|
||||||
|
|||||||
Reference in New Issue
Block a user