From 47d772735bb10b5681836d91e3fcfa9dccf4053e Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Mon, 13 Sep 2021 21:20:28 +0800 Subject: [PATCH] Add url in email for failure case (#7845) Signed-off-by: zhuwenxing --- .github/workflows/deploy-test.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-test.yaml b/.github/workflows/deploy-test.yaml index f41755523..2fd74e289 100644 --- a/.github/workflows/deploy-test.yaml +++ b/.github/workflows/deploy-test.yaml @@ -35,7 +35,6 @@ jobs: python scripts/get_tag.py >> ./${{ matrix.mode }}/logs/test_info.log bash test.sh -m ${{ matrix.mode }} -t ${{ matrix.task }} -p "" - - name: 'Send mail' if: ${{ failure() }} uses: dawidd6/action-send-mail@v3 @@ -45,7 +44,7 @@ jobs: username: ${{ secrets.TEST_EMAIL_USERNAME }} password: ${{ secrets.TEST_EMAIL_PASSWORD }} subject: Deploy Test - body: "test ${{ matrix.mode }} ${{ matrix.task }} failed" + body: "test ${{ matrix.mode }} ${{ matrix.task }} failed \n You can view it at https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" to: ${{ secrets.QA_EMAIL_ADDRESS }} from: GitHub Actions -- GitLab