Commit 0d4817e 1 parent 96edecd commit 0d4817e Copy full SHA for 0d4817e
File tree 1 file changed +7
-10
lines changed
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,21 @@ permissions:
17
17
pages : write
18
18
id-token : write
19
19
20
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22
20
concurrency :
23
21
group : pages
24
22
cancel-in-progress : false
25
23
26
24
jobs :
27
- # Build job
28
25
build :
29
26
runs-on : ubuntu-latest
30
27
steps :
31
28
- name : Checkout
32
29
uses : actions/checkout@v4
33
30
with :
34
- fetch-depth : 0 # Not needed if lastUpdated is not enabled
35
- - uses : pnpm/action-setup@v3 # Uncomment this if you're using pnpm
31
+ fetch-depth : 0
32
+ - uses : pnpm/action-setup@v3
36
33
with :
37
34
version : 9
38
- # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
39
35
- name : Setup Node
40
36
uses : actions/setup-node@v4
41
37
with :
@@ -44,15 +40,16 @@ jobs:
44
40
- name : Setup Pages
45
41
uses : actions/configure-pages@v4
46
42
- name : Install dependencies
47
- run : pnpm install # or pnpm install / yarn install / bun install
48
- - name : Build with VitePress
49
- run : pnpm docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
43
+ run : pnpm install
44
+ - name : Analyze
45
+ run : pnpm analyze
46
+ - name : Build Docs
47
+ run : pnpm docs:build
50
48
- name : Upload artifact
51
49
uses : actions/upload-pages-artifact@v3
52
50
with :
53
51
path : docs/.vitepress/dist
54
52
55
- # Deployment job
56
53
deploy :
57
54
environment :
58
55
name : github-pages
You can’t perform that action at this time.
0 commit comments