Skip to content

translate the part of "deployment on Github" #3092

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

Closed
wants to merge 1 commit into from

Conversation

JaykeyGuo
Copy link

No description provided.

@@ -53,7 +53,7 @@ serve -s dist
}
```

2. Inside your project, create `deploy.sh` with the following content (with highlighted lines uncommented appropriately) and run it to deploy:
2. 在你的项目中,创建 `deploy.sh` 包含以下内容 (没有注释的高亮行) 并运行来实现部署:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「没有注释的高亮行」->「取消掉高亮行的注释」

::: tip
You can also run the above script in your CI setup to enable automatic deployment on each push.
::: 提示
可以在配置项中运行以上的脚步,确保在每次更新之后会自动部署。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「脚步」->「脚本」


If you are deploying to `https://<USERNAME>.github.io/`, you can omit `baseUrl` as it defaults to `"/"`.
如果部署在个人GitHub域名 `https://<USERNAME>.github.io/`, 可忽略 `baseUrl` 取而代之使用 `"/"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中英文之间请加上空格。

@haoqunjiang
Copy link
Member

Closed in favor of #2706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants