File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy static content to Pages
2+
3+ on :
4+ push :
5+ branches : ['main']
6+ workflow_dispatch :
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v5
13+ - uses : actions/setup-node@v5
14+ with :
15+ node-version : 20
16+ cache : ' npm'
17+ - run : npm ci
18+ - run : npm run build
19+ - uses : actions/configure-pages@v5
20+ - uses : actions/upload-pages-artifact@v4
21+ with :
22+ path : ' ./dist'
23+ - id : deployment
24+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import wasm from 'vite-plugin-wasm';
66
77export default defineConfig ( {
88 plugins : [ glsl ( ) ] ,
9+ base : '/canvas-points-simulation/' ,
910 build : {
1011 rollupOptions : {
1112 input : {
You can’t perform that action at this time.
0 commit comments