File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 99 paths :
1010 - " mkdocs.yml"
1111 - " docs/**"
12- - " pdl-live"
12+ - " pdl-live-react "
1313
1414 # Allows you to run this workflow manually from the Actions tab
1515 workflow_dispatch :
4646 run : mkdocs build --config-file ./mkdocs.yml --strict --site-dir ./_site
4747 env :
4848 CI : true
49+ # Viewer
50+ - name : Set up node
51+ uses : actions/setup-node@v4
52+ with :
53+ node-version : 22
54+ - name : Install dependencies
55+ working-directory : ./pdl-live-react
56+ run : npm ci
57+ - name : Build viewer
58+ working-directory : ./pdl-live-react
59+ run : npm run build
60+ - name : Copy viewer
61+ working-directory : ./pdl-live-react
62+ run : cp -a ./dist ../docs/viewer
4963 # Deploy
5064 - name : Upload artifact
5165 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const host = process.env.TAURI_DEV_HOST;
66
77// https://vitejs.dev/config/
88export default defineConfig ( async ( ) => ( {
9+ base : "./" ,
910 plugins : [
1011 react ( ) ,
1112 checker ( {
You can’t perform that action at this time.
0 commit comments