Skip to content

Commit

Permalink
Update README.zh-CN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkey2011 authored Nov 2, 2020
1 parent 45e4a82 commit d6258ef
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,35 @@ jobs:
```
上述配置的结果是:每次推送代码,将自动构建、部署到`username/repo`的`master`分支。就是这么简单~

## 示例

示例代码库: [https://github.com/jenkey2011/vuepress-deploy-demo](https://github.com/jenkey2011/vuepress-deploy-demo)

### 实例说明

两个库

- 源码库(`vuepress-deploy-demo`), 我们称为 `A`
- 部署目标代码库(`vuepress-deploy-demo-target`), 我们称为 `B`

共有三种部署情况,配置文件分别如下:

- `A` TO `A:gh_pages`: `deploy-to-current-repo-gh_pages.yml`
- `A` TO `B:master`: `deploy-to-other-repo-master.yml`
- `A` TO `B:custom_branch`: `deploy-to-other-repo-custom_branch.yml`

**在这看部署后的效果:**

- 流水线编译过程: [https://github.com/jenkey2011/vuepress-deploy-demo/actions](https://github.com/jenkey2011/vuepress-deploy-demo/actions)

- `A` TO `A:gh_pages`: [https://github.com/jenkey2011/vuepress-deploy-demo/tree/gh_pages](https://github.com/jenkey2011/vuepress-deploy-demo/tree/gh_pages)

- `A` TO `B:master`:[https://github.com/jenkey2011/vuepress-deploy-demo-target/tree/master](https://github.com/jenkey2011/vuepress-deploy-demo-target/tree/master)

- `A` TO `B:custom_branch`:[https://github.com/jenkey2011/vuepress-deploy-demo-target/tree/custom_branch](https://github.com/jenkey2011/vuepress-deploy-demo-target/tree/custom_branch)

- `B`仓库`Git-page`效果: [https://jenkey2011.github.io/vuepress-deploy-demo-target/](https://jenkey2011.github.io/vuepress-deploy-demo-target/)

> 如果不了解`github workflow`什么的,看下面的[详细教程](#step-by-step-guide)

## 参数
Expand Down

0 comments on commit d6258ef

Please sign in to comment.