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