From: Jérémie Astor Date: Tue, 18 Feb 2020 22:38:13 +0000 (+0100) Subject: :wrench: use mail X-Git-Tag: nightly~1868 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=728a40102e1bce78debd4f29ff58869b1102d2c3;p=gwion.git :wrench: use mail --- diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2c8f6c64..558fa1f0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -66,7 +66,7 @@ jobs: done - name: Push Report - if: github.event_name == 'push' + if: github.event_name == 'push' && github.event.ref = 'refs/head/master' run: | cd gwion-coverage-report git config --local user.email "action@github.com" @@ -82,3 +82,15 @@ jobs: git push origin :gh-pages || true git subtree push --prefix html origin gh-pages echo $GITHUB_EVENT_NAME $GITHUB_REF + + - name: Send mail + uses: dawidd6/action-send-mail@master + with: + server_address: smtp.gmail.com + server_port: 465 + username: ${{secrets.MAIL_USERNAME}} + password: ${{secrets.MAIL_PASSWORD}} + subject: Github Actions job result + body: file://README.md + to: ${{ github.event.repository.owner.email }},${{ github.event.pusher.email }} + from: Gwion Coverage action