File tree Expand file tree Collapse file tree 2 files changed +51
-3
lines changed
Expand file tree Collapse file tree 2 files changed +51
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ concurrency :
13+ group : " pages"
14+ cancel-in-progress : true
15+
16+ jobs :
17+ build :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+
23+ - uses : oven-sh/setup-bun@v2
24+ with :
25+ bun-version : latest
26+
27+ - name : Install dependencies
28+ run : bun install
29+
30+ - name : Build
31+ run : bun run build
32+
33+ - name : Upload artifact
34+ uses : actions/upload-pages-artifact@v3
35+ with :
36+ path : dist
37+
38+ deploy :
39+ needs : build
40+ runs-on : ubuntu-latest
41+ environment :
42+ name : github-pages
43+ url : ${{ steps.deployment.outputs.page_url }}
44+ steps :
45+ - name : Deploy to GitHub Pages
46+ id : deployment
47+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1- import { defineConfig } from 'vite'
2- import vue from '@vitejs/plugin-vue'
1+ import { defineConfig } from 'vite' ;
2+ import vue from '@vitejs/plugin-vue' ;
33
44// https://vite.dev/config/
55export default defineConfig ( {
6+ base : '/' ,
67 plugins : [ vue ( ) ] ,
7- } )
8+ } ) ;
You can’t perform that action at this time.
0 commit comments