-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change the platform to Mkdocs * try workflow * try workflows again * 增加分支触发条件 * fix workflows * 取消Vercel部署渠道,变更为Github Action自动部署到gh-deploy分支。
- Loading branch information
Showing
75 changed files
with
605 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: publish site | ||
on: # 在什么时候触发工作流 | ||
push: # 在从本地main分支被push到GitHub仓库时 | ||
branches: | ||
- master | ||
- main | ||
pull_request: # 在main分支合并别人提的pr时 | ||
branches: | ||
- master | ||
- main | ||
jobs: # 工作流的具体内容 | ||
deploy: | ||
runs-on: ubuntu-latest # 创建一个新的云端虚拟机 使用最新Ubuntu系统 | ||
steps: | ||
- uses: actions/checkout@v2 # 先checkout到main分支 | ||
- uses: actions/setup-python@v2 # 再安装Python3和相关环境 | ||
with: | ||
python-version: 3.x | ||
- uses: actions/cache@v2 | ||
with: | ||
key: ${{ github.ref }} | ||
path: .cache | ||
- run: pip install mkdocs-material # 使用pip包管理工具安装mkdocs-material | ||
- run: mkdocs gh-deploy --force # 使用mkdocs-material部署gh-pages分支 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1 @@ | ||
# Node rules: | ||
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
## Dependency directory | ||
## Commenting this out is preferred by some people, see | ||
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git | ||
node_modules | ||
|
||
# Book build output | ||
_book | ||
|
||
# eBook build output | ||
*.epub | ||
*.mobi | ||
/site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Summary | ||
## Summary | ||
|
||
* [内容简介](README.md) | ||
* [第一章 RISC-V产生的时代背景](ch1-background.md) | ||
|
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Oops, something went wrong.