mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
Update docs.yml
This commit is contained in:
committed by
GitHub
parent
e5d4d5108d
commit
1151a3b20f
@@ -42,6 +42,18 @@ jobs:
|
|||||||
repository: matrix-org/matrix-js-sdk
|
repository: matrix-org/matrix-js-sdk
|
||||||
path: matrix-js-sdk
|
path: matrix-js-sdk
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
cache: "yarn"
|
||||||
|
cache-dependency-path: element-web/yarn.json
|
||||||
|
|
||||||
|
- name: Generate automations docs
|
||||||
|
working-directory: element-web
|
||||||
|
run: |
|
||||||
|
yarn install --frozen-lockfile
|
||||||
|
yarn ts-node element-web/scripts/gen-workflow-mermaid.ts ../element-desktop ../element-web ../matrix-react-sdk ../matrix-js-sdk > docs/automations.md
|
||||||
|
echo "- [Automations](automations.md)" >> docs/SUMMARY.md
|
||||||
|
|
||||||
- name: Setup mdBook
|
- name: Setup mdBook
|
||||||
uses: peaceiris/actions-mdbook@v1
|
uses: peaceiris/actions-mdbook@v1
|
||||||
with:
|
with:
|
||||||
@@ -83,11 +95,6 @@ jobs:
|
|||||||
mv element-web/book.toml .
|
mv element-web/book.toml .
|
||||||
mdbook-mermaid install .
|
mdbook-mermaid install .
|
||||||
|
|
||||||
- name: Generate automations docs
|
|
||||||
run: |
|
|
||||||
npx ts-node element-web/scripts/gen-workflow-mermaid.ts element-desktop element-web matrix-react-sdk matrix-js-sdk > docs/automations.md
|
|
||||||
echo "- [Automations](automations.md)" >> docs/SUMMARY.md
|
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: mdbook build
|
run: mdbook build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user