Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: ci branch from master to main #2005

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/guide/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ yarn add dumi cross-env -D
```

3. 增加配置,新建 `.dumirc.js|ts` 到 `APP_ROOT` 指定的根目录中。dumi 会根据 `APP_ROOT` 来消费配置文件,如果不指定 `APP_ROOT`,则在项目根目录创建即可。

```js
export default {
chainWebpack(memo) {
Expand Down Expand Up @@ -123,7 +124,7 @@ npm run deploy

#### 自动部署

利用 [Github Action](https://github.com/features/actions) 在每次 `master` 分支更新后自动部署
利用 [Github Action](https://github.com/features/actions) 在每次 `main` 分支更新后自动部署

新建 `.github/workflows/gh-pages.yml` 文件

Expand All @@ -133,7 +134,7 @@ name: github pages
on:
push:
branches:
- master # default branch
- main # default branch

jobs:
deploy:
Expand Down
Loading