Skip to content

Commit 1464e37

Browse files
feat: try CI
1 parent 46e32f3 commit 1464e37

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import wasm from 'vite-plugin-wasm';
66

77
export default defineConfig({
88
plugins: [ glsl() ],
9+
base: '/canvas-points-simulation/',
910
build: {
1011
rollupOptions: {
1112
input: {

0 commit comments

Comments
 (0)