Skip to content

Commit

Permalink
Merge pull request #2 from mianshipai/main
Browse files Browse the repository at this point in the history
fix: deploy bug
  • Loading branch information
wangfupeng1988 authored Jan 9, 2025
2 parents 012b017 + 131dc10 commit 5cf4125
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: build
run: |
npm install
npm npm run docs:build
npm run docs:build
echo "---------- vitepress build done ----------"
- name: set ssh key # 临时设置 ssh key
run: |
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

[双越老师(王福朋)](https://juejin.cn/user/1714893868765373)整理的前端面试流程和刷题技巧,开源免费,持续维护。

## 本地运行

git clone 源代码

```
npm i
npm run docs:dev
```

## 发布线上

把代码合并到 `prod-deploy` 分支,push 到 GitHub,即可自动上线 https://mianshipai.github.io/

0 comments on commit 5cf4125

Please sign in to comment.