Create mdbook.yml #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: website-deploy | |
on: | |
push: | |
branches: | |
- 'master' | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
Job1: | |
runs-on: windows-latest | |
steps: | |
- name: Convert Markdown to HTML | |
uses: jaywcjlove/markdown-to-html-cli@main | |
if: success() || failure() | |
with: | |
source: README.md | |
output: html/index.html | |
github-corners: https://github.com/jaywcjlove/markdown-to-html-cli | |
- name: Markdown-HTML | |
# You may pin to the exact commit or the version. | |
# uses: ZacJW/markdown-html-action@581e6df07c787a1eb980cb2fd6c0c82ace9c9c82 | |
uses: ZacJW/[email protected] | |
if: success() || failure() | |
with: | |
input_files: "README.md" | |
output_files: true | |
- name: Converts Markdown to HTML | |
uses: jaywcjlove/markdown-to-html-cli@main | |
if: success() || failure() | |
with: | |
source: README-zh.md | |
output: coverage/action.html | |
github-corners: https://github.com/jaywcjlove/markdown-to-html-cli | |
favicon: data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌐</text></svg> |