mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Update docs.yml
This commit is contained in:
parent
3b23cb8bff
commit
3f81241e20
24
.github/workflows/docs.yml
vendored
24
.github/workflows/docs.yml
vendored
@ -35,16 +35,26 @@ jobs:
|
|||||||
- name: Install mdbook-combiner
|
- name: Install mdbook-combiner
|
||||||
run: cargo install mdbook-combiner
|
run: cargo install mdbook-combiner
|
||||||
|
|
||||||
- name: Build docs
|
- name: Prepare docs
|
||||||
run: |
|
run: |
|
||||||
mkdir docs
|
mkdir -p docs/element-{desktop,web} docs/matrix-react-sdk
|
||||||
mv element-desktop/docs docs/element-desktop
|
|
||||||
mv element-web/docs docs/element-web
|
mv element-desktop/docs "docs/element-desktop/Element Desktop"
|
||||||
mv matrix-react-sdk/docs docs/matrix-react-sdk
|
mv element-desktop/README.md docs/element-desktop/
|
||||||
|
|
||||||
|
mv element-web/docs "docs/element-web/Element Web"
|
||||||
|
mv element-web/README.md docs/element-web/
|
||||||
|
|
||||||
|
mv matrix-react-sdk/docs "docs/matrix-react-sdk/Matrix React SDK"
|
||||||
|
mv matrix-react-sdk/README.md docs/matrix-react-sdk/
|
||||||
|
|
||||||
mdbook-combiner -m docs
|
mdbook-combiner -m docs
|
||||||
mv element-web/book.toml .
|
|
||||||
mv SUMMARY.md docs/
|
mv SUMMARY.md docs/
|
||||||
mdbook build
|
|
||||||
|
mv element-web/book.toml .
|
||||||
|
|
||||||
|
- name: Build docs
|
||||||
|
run: mdbook build
|
||||||
|
|
||||||
- name: Deploy to gh pages
|
- name: Deploy to gh pages
|
||||||
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
|
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
|
||||||
|
Loading…
Reference in New Issue
Block a user