Skip to content

Commit 69c6ee0

Browse files
committed
feat: github page action
1 parent aaea6fd commit 69c6ee0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ jobs:
1717
uses: actions/checkout@v2
1818
with:
1919
persist-credentials: false
20+
run: npm install -g yarn
2021

2122
# 生成静态文件
2223
- name: Build
23-
run: npm install && npm run build:docs
24+
run: yarn && yarn build:docs
2425

2526
# 部署到 GitHub Pages
2627
- name: Deploy

0 commit comments

Comments
 (0)