mirror of
https://github.com/PanXProject/awesome-certificates.git
synced 2024-12-18 14:56:09 +00:00
Update convert-md-to-html.yml
This commit is contained in:
parent
a79ce52ddc
commit
34989a10e5
9
.github/workflows/convert-md-to-html.yml
vendored
9
.github/workflows/convert-md-to-html.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user