File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy VitePress Site to Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ jobs :
14+ deploy :
15+ environment :
16+ name : github-pages
17+ url : ${{ steps.deployment.outputs.page_url }}
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+
25+ - name : Setup Bun
26+ uses : oven-sh/setup-bun@v1
27+
28+ - name : Install dependencies
29+ run : bun install
30+
31+ - name : Build the site
32+ run : bun run docs:build
33+
34+ - name : Setup Pages
35+ uses : actions/configure-pages@v5
36+
37+ - name : Upload artifact
38+ uses : actions/upload-pages-artifact@v3
39+ with :
40+ path : docs/.vitepress/dist
41+
42+ - name : Deploy to GitHub Pages
43+ id : deployment
44+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { fr } from "./fr.mts";
44
55export default defineConfig ( {
66 title : "PipePipe Wiki" ,
7+ base : "/Docs-PipePipe/" ,
78
89 themeConfig : {
910 socialLinks : [
You can’t perform that action at this time.
0 commit comments