Skip to content

Commit 852c6dc

Browse files
committed
Requires failure. Updates text.
1 parent a404191 commit 852c6dc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/nightly-js-sdk.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,17 @@ jobs:
7070
- name: Launch E2E tests workflow
7171
run: yarn test
7272
- name: Send email on failure
73+
if: failure()
7374
uses: ./.github/actions/send-email
7475
with:
7576
api-key: ${{ secrets.OSS_BOT_MAILGUN_KEY }}
7677
domain: ${{ secrets.OSS_BOT_MAILGUN_DOMAIN }}
7778
from: 'GitHub <admin-github@${{ secrets.OSS_BOT_MAILGUN_DOMAIN }}>'
7879
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!'
8081
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>
8383
<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.
8586
continue-on-error: true

0 commit comments

Comments
 (0)