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 4693e7b commit ba29e7c
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,23 @@ jobs:

- run: mkdir -p build

- name: Converts Markdown to HTML
uses: jaywcjlove/markdown-to-html-cli@main
with:
github-corners: https://github.com/kktjs/ncc
output: build/index.html
- name: Create idoc config.
working-directory: core
run: |
cat > idoc.yml << EOF
site: "NCC {{version}}"
menus:
Home: index.html
KKT: https://kktjs.github.io/kkt/
Create-KKT: https://kktjs.github.io/create-kkt/
Zip: https://kktjs.github.io/zip/
EOF
- run: npm install [email protected] -g
- run: idoc
working-directory: core

- run: cp -rp core/dist ./build

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

0 comments on commit ba29e7c

Please sign in to comment.