mirror of
https://github.com/PanXProject/awesome-certificates.git
synced 2024-12-18 14:56:09 +00:00
Delete .github/workflows/convert-md-to-html.yml
This commit is contained in:
parent
4ca966c169
commit
6f9df756e0
30
.github/workflows/convert-md-to-html.yml
vendored
30
.github/workflows/convert-md-to-html.yml
vendored
@ -1,30 +0,0 @@
|
|||||||
name: Docs to HTML
|
|
||||||
# This workflow is triggered on pushes to the repository.
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
|
|
||||||
paths:
|
|
||||||
- 'readme.md'
|
|
||||||
- 'media/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
converttopdf:
|
|
||||||
name: Build HTML
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- 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
|
|
||||||
# Default is true, can set to false to only get PDF files
|
|
||||||
build_html: true
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: website
|
|
||||||
path: html
|
|
Loading…
Reference in New Issue
Block a user