Unverified Commit 5dd573c6 authored by Hongxin Liu's avatar Hongxin Liu Committed by GitHub
Browse files

[devops] fix ci for document check (#3751)

* [doc] add test info

* [devops] update doc check ci

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] add debug info

* [devops] remove debug info and update invalid doc

* [devops] add essential comments
parent c03bd7c6
...@@ -47,12 +47,16 @@ jobs: ...@@ -47,12 +47,16 @@ jobs:
# we use the versions in the main branch as the guide for versions to display # we use the versions in the main branch as the guide for versions to display
# checkout will give your merged branch # checkout will give your merged branch
# therefore, we need to make the merged branch as the main branch # therefore, we need to make the merged branch as the main branch
# there is no main branch, so it's safe to checkout the main branch from the merged branch
# docer will rebase the remote main branch to the merged branch, so we have to config user
- name: Make the merged branch main - name: Make the merged branch main
run: | run: |
cd ColossalAI cd ColossalAI
curBranch=$(git rev-parse --abbrev-ref HEAD) git checkout -b main
git checkout main git branch -u origin/main
git merge $curBranch # fast-forward master up to the merge git config user.name 'github-actions'
git config user.email 'github-actions@github.com'
- name: Build docs - name: Build docs
run: | run: |
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
```math ```math
\left[\begin{matrix} B_1 \\ B_2 \end{matrix} \right] \left[\begin{matrix} B_1 \\ B_2 \end{matrix} \right]
``` ```
这就是所谓的行并行方式.<br> 这就是所谓的行并行方式.
为了计算 为了计算
```math ```math
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment