Update convert-md-to-html.yml

This commit is contained in:
Waleed Sadek 2024-02-18 23:17:55 +02:00 committed by GitHub
parent a79ce52ddc
commit 34989a10e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
name: MD to HTML
name: Docs to HTML
# This workflow is triggered on pushes to the repository.
on:
push:
@ -15,17 +15,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: baileyjm02/markdown-to-pdf@v1
- uses: baileyjm02/markdown-to-pdf@v1.2.0
with:
input_dir: /
output_dir: html
images_dir: /media
# for example <img src="./images/file-name.png">
image_import: ./media
image_import: ./images
# Default is true, can set to false to only get PDF files
build_html: true
build_pdf: false
- uses: actions/upload-artifact@v3
with:
name: html
name: website
path: html