Skip to content

Commit dae3455

Browse files
spike-rabbitfh1ch
authored andcommitted
build: upload documentation with examples
1 parent 0140416 commit dae3455

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,20 @@ jobs:
8484
steps:
8585
- uses: actions/checkout@v4
8686
- uses: astral-sh/setup-uv@v5
87+
- uses: actions/download-artifact@v4
88+
with:
89+
name: dist
90+
path: dist
8791
- run: uv run mkdocs build
8892
env:
8993
UV_INDEX_CODE_DOCS_THEME_USERNAME: ${{ secrets.SIEMENS_NPM_USER }}
9094
UV_INDEX_CODE_DOCS_THEME_PASSWORD: ${{ secrets.SIEMENS_NPM_TOKEN }}
95+
EXAMPLES_BASE: /element-examples
96+
- run: mv dist/element-examples/ dist/design/
97+
- uses: actions/upload-artifact@v4
98+
with:
99+
name: pages
100+
path: dist/design
91101
# TODO: build design system
92102
# TODO: add release job
93103
# TODO: build PR previews

0 commit comments

Comments
 (0)