]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: trigger
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sat, 22 Feb 2020 01:28:34 +0000 (02:28 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sat, 22 Feb 2020 01:28:34 +0000 (02:28 +0100)
.github/workflows/coverage.yml

index 552cc26d1769c784d3bfd65d94831d3d4811865a..f1322e7621cd753d4d983fb78820c3ba3ba5451e 100644 (file)
@@ -67,13 +67,13 @@ jobs:
     - 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"
@@ -96,7 +96,7 @@ jobs:
         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