Skip to content

Commit ea655ce

Browse files
authored
Merge pull request #416 from docknetwork/DCKA-4877-setup-up-js-doc-builds-in-ci-cd
Dcka 4877 setup up js doc builds in ci cd
2 parents 9fa0e23 + 036caea commit ea655ce

18 files changed

Lines changed: 2330 additions & 177 deletions

.github/workflows/docs-push.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ jobs:
2424
token: ${{ secrets.KNOWLEDGEBASE_PR_TOKEN }}
2525
path: knowledge-base
2626

27+
- name: Install dependencies
28+
run: npm ci
29+
30+
- name: Generate docs
31+
run: |
32+
npm run docs
33+
2734
- name: Copy files
2835
run: |
2936
# Specify the files or directories you want to copy

.github/workflows/jsdocs-deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Deploy js docs
22
on:
33
push:
4-
branches:
5-
- master
4+
branches: master
5+
66
jobs:
77
deployJsDocs:
88
runs-on: ubuntu-latest
@@ -27,7 +27,6 @@ jobs:
2727

2828
- name: Generate docs
2929
run: |
30-
rm -rf docs
3130
npm run docs
3231
3332
- name: Commit report

docs/api/.gitkeep

Whitespace-only changes.

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Truvera Wallet SDK Documentation
2+
3+
- [@docknetwork/wallet-sdk-core](./api/core.md)

jsdoc.conf.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)