- name: Make html mail
uses: docker://pandoc/core:2.9
with:
- args: "--from gfm --to html -o mail.html gwion-coverage-report/diff.md -o mail.html"
+ args: "--from gfm --to html -o diff.html gwion-coverage-report/diff.md"
- name: Push Report
if: github.event_name == 'push'
run: |
branch=$(basename ${{ github.event.ref }})
- cp mail.html gwion-coverage-report/html/$branch
+ cp diff.html gwion-coverage-report/html/$branch
cd gwion-coverage-report
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: Github Actions job result
- body: file://mail.html
+ body: file://diff.html
to: ${{ github.event.repository.owner.email }},${{ github.event.pusher.email }}
from: Gwion Coverage action
content_type: text/html