Skip to content

Commit

Permalink
ci: update idoc config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 22, 2023
1 parent 957d689 commit 2841a32
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -81,8 +81,32 @@ jobs:

- run: npm run coverage

- run: npm install idoc@1.25.0 -g
- run: idoc -s "TSBB {{version}}"
- run: npm install idoc@1.27.0 -g

- name: Create idoc config.
working-directory: packages/tsbb
run: |
cat > idoc.yml << EOF
site: "TSBB {{version}}"
giscus:
src: https://giscus.app/client.js
data-repo: jaywcjlove/tsbb
data-repo-id: MDEwOlJlcG9zaXRvcnkxODQ5MTg0NDY=
data-category: Q&A
data-category-id: DIC_kwDOCwWhrs4CZifu
data-mapping: pathname
data-strict: 0
data-reactions-enabled: 1
data-emit-metadata: 0
data-input-position: top
data-theme: dark
data-lang: en
data-loading: lazy
crossorigin: anonymous
async: true
EOF
- run: idoc -s
working-directory: packages/tsbb

- name: Generate Contributors Images
Expand Down

0 comments on commit 2841a32

Please sign in to comment.