File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main # 或者你的主分支名称
7- paths :
8- - ' qwen-agent-docs/website/**'
97 workflow_dispatch : # 允许手动触发
108
119permissions :
@@ -33,10 +31,10 @@ jobs:
3331 with :
3432 node-version : ' 18'
3533 cache : ' npm'
36- cache-dependency-path : ' qwen-agent-docs/website/package-lock.json'
34+ cache-dependency-path : ' qwen-agent-docs/website/package-lock.json' # 添加这一行
3735
3836 - name : Install dependencies
39- run : npm ci
37+ run : npm install
4038
4139 - name : Build website
4240 run : npm run build
4644 - name : Upload artifact
4745 uses : actions/upload-pages-artifact@v3
4846 with :
49- path : qwen-agent-docs/website/out
47+ path : " qwen-agent-docs/website/out/ " # 注意这里也要加上完整路径
5048
5149 deploy :
5250 environment :
5755 steps :
5856 - name : Deploy to GitHub Pages
5957 id : deployment
60- uses : actions/deploy-pages@v4
61-
58+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments