Skip to content

Commit

Permalink
ci: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 2, 2023
1 parent d439f60 commit 59cd224
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,30 @@ jobs:

- run: mkdir -p build

- name: Converts kkt Markdown to HTML
uses: jaywcjlove/markdown-to-html-cli@main
with:
github-corners: https://github.com/kktjs/kkt
output: build/index.html

- name: Converts ncc Markdown to HTML
uses: jaywcjlove/markdown-to-html-cli@main
with:
github-corners: https://github.com/kktjs/ncc
source: packages/ncc/README.md
output: build/ncc.html

- name: Create idoc config.
working-directory: core
run: |
cat > idoc.yml << EOF
site: "KKT {{version}}"
menus:
KKT: https://kktjs.github.io/kkt/
NCC: index.html
Create-KKT: https://kktjs.github.io/create-kkt/
Zip: https://kktjs.github.io/zip/
EOF
- run: npm install idoc@1.27.2 -g
- run: idoc
working-directory: core
- run: cp -rp core/dist/* ./build

- name: Generate Contributors Images
uses: jaywcjlove/github-action-contributors@main
with:
Expand Down

0 comments on commit 59cd224

Please sign in to comment.