Add test notification
This commit is contained in:
@@ -25,3 +25,16 @@ jobs:
|
|||||||
echo "Result symlink: $(readlink -f result)"
|
echo "Result symlink: $(readlink -f result)"
|
||||||
find result/ -type f
|
find result/ -type f
|
||||||
cp -rL result /home/nclack/builds/RadiantWave-$(date +%Y%m%d-%H%M%S)
|
cp -rL result /home/nclack/builds/RadiantWave-$(date +%Y%m%d-%H%M%S)
|
||||||
|
|
||||||
|
- name: Notify
|
||||||
|
if: always()
|
||||||
|
uses: https://github.com/dawidd6/action-send-mail@v3
|
||||||
|
with:
|
||||||
|
server_address: smtp.gmail.com
|
||||||
|
server_port: 465
|
||||||
|
username: ${{ secrets.MAIL_USERNAME }}
|
||||||
|
password: ${{ secrets.MAIL_PASSWORD }}
|
||||||
|
subject: "RhemaWave build ${{ job.status }}"
|
||||||
|
to: your@email.com
|
||||||
|
from: your@email.com
|
||||||
|
body: "Build ${{ job.status }} for commit ${{ github.sha }}"
|
||||||
Reference in New Issue
Block a user