We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bdcbf4 commit f480a8cCopy full SHA for f480a8c
2 files changed
.github/workflows/deploy.yml
@@ -0,0 +1,32 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+permissions:
8
+ contents: read
9
+ pages: write
10
+ id-token: write
11
12
+jobs:
13
+ build-and-deploy:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 20
21
+ cache: npm
22
23
+ - run: npm ci
24
+ - run: npm run build
25
26
+ - uses: actions/configure-pages@v4
27
+ - uses: actions/upload-pages-artifact@v3
28
29
+ path: dist
30
31
+ - uses: actions/deploy-pages@v4
32
vite.config.js
@@ -0,0 +1,6 @@
+import { defineConfig } from 'vite'
+export default defineConfig({
+ base: '/starter-plot-repo/',
+})
0 commit comments