Add markdown format support (#25)

Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
This commit is contained in:
dougpagani
2020-11-30 12:51:34 -05:00
committed by GitHub
parent d1b07d9ed7
commit 2095e6ffe3
941 changed files with 37481 additions and 15 deletions

View File

@ -4,6 +4,7 @@ on:
push:
branches:
- master
workflow_dispatch:
jobs:
main:
@ -13,9 +14,10 @@ jobs:
matrix:
include:
- content_type: text/markdown
body: file://README.md
attachments: action.yml
body: file://README.md
- content_type: text/html
attachments: package.json,package-lock.json
body: |
<!DOCTYPE html>
<html>
@ -24,7 +26,16 @@ jobs:
<p>Paragraph</p>
</body>
</html>
attachments: package.json,package-lock.json
- content_type: text/html
convert_markdown: true
body: |
# h1
## h2
### h3
**bold**
_italics_
- bullet 1
- bullet 2
steps:
- name: Checkout code
uses: actions/checkout@v2
@ -40,4 +51,5 @@ jobs:
to: ${{github.event.pusher.email}}
from: github-actions
content_type: ${{matrix.content_type}}
convert_markdown: ${{matrix.convert_markdown}}
attachments: ${{matrix.attachments}}