Skip to content

Commit

Permalink
docs: use demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Oct 16, 2023
1 parent b69bccf commit 0fe8819
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --filter viewer-docs && pnpm install --filter examples
run: pnpm install --filter viewer-docs && pnpm install --filter demos

- name: Build Docs
run: pnpm docs:build

- name: Build Demos
run: pnpm examples:build
run: pnpm demos:build

- name: Remix
run: rm -rf dist && mkdir dist && cp .github/index.html dist && cp -r docs/.vitepress/dist dist/docs && cp -r examples/dist dist/demos
run: rm -rf dist && mkdir dist && cp .github/index.html dist && cp -r docs/.vitepress/dist dist/docs && cp -r demos/dist dist/demos

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 0fe8819

Please sign in to comment.