Skip to content

Commit 2c638ee

Browse files
committed
chore: update workflows config.
1 parent 4ba4fb5 commit 2c638ee

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ jobs:
1515

1616
- run: mkdir -p build
1717
- run: cp -rp nginx.svg build
18-
- run: npm i markdown-to-html-cli -g
19-
- run: markdown-to-html --output build/index.html
18+
19+
- name: Converts Markdown to HTML
20+
uses: jaywcjlove/markdown-to-html-cli@main
21+
with:
22+
source: README-zh.md
23+
output: build/index.html
24+
2025

2126
- name: Deploy
2227
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)