File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,17 @@ jobs:
70
70
- name : Launch E2E tests workflow
71
71
run : yarn test
72
72
- name : Send email on failure
73
+ if : failure()
73
74
uses : ./.github/actions/send-email
74
75
with :
75
76
api-key : ${{ secrets.OSS_BOT_MAILGUN_KEY }}
76
77
domain : ${{ secrets.OSS_BOT_MAILGUN_DOMAIN }}
77
78
from : ' GitHub <admin-github@${{ secrets.OSS_BOT_MAILGUN_DOMAIN }}>'
78
79
to : ${{ secrets.FIREBASE_NEXTJS_TESTS_GITHUB_EMAILS }}
79
- subject : ' Nightly build ${{github.run_id}} of ${{github.repository}} failed!'
80
+ subject : ' Nightly build of ${{github.repository}} failed!'
80
81
html : >
81
- <b>Nightly workflow ${{github.run_id}} failed on: ${{github.repository}}</b>
82
- <b>THIS IS ONLY A TEST</b>
82
+ <b>The nightly workflow to test the Firebase JS SDK failed on: ${{github.repository}}</b>
83
83
<br /><br />Navigate to the
84
- <a href="https://github.com/FirebaseExtended/firebase-sdk-nextjs-tests/actions/runs/${{github.run_id}}">failed workflow</a>.
84
+ <a href="https://github.com/FirebaseExtended/firebase-sdk-nextjs-tests/actions/runs/${{github.run_id}}">failed workflow</a>
85
+ to look further into what went wrong.
85
86
continue-on-error : true
You can’t perform that action at this time.
0 commit comments