Skip to content

Commit c13f9cd

Browse files
committed
ci: 调整文档ci
1 parent f8cf041 commit c13f9cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ env:
2525
jobs:
2626
build-and-deploy:
2727
runs-on: ubuntu-latest #指定服务器的运行环境:最新版本ubuntu
28+
defaults:
29+
run:
30+
working-directory: docs #指定运行的工作目录
2831
steps:
2932
# 使用actions/checkout@v4 库拉取代码到 ubuntu 上
3033
- name: Checkout
3134
uses: actions/checkout@v4
3235
with:
3336
# 根据网上资料查询此处可以设置为 false。https://github.com/actions/checkout
3437
persist-credentials: false
35-
36-
- name: Set up the working directory
37-
run: cd docs
3838

3939
# 安装 pnpm
4040
- name: Install pnpm

0 commit comments

Comments
 (0)