File tree 1 file changed +2
-32
lines changed
1 file changed +2
-32
lines changed Original file line number Diff line number Diff line change @@ -18,43 +18,13 @@ jobs:
18
18
ref : main
19
19
path : ./.
20
20
21
- - name : Checkout main repository
22
- uses : actions/checkout@v3
23
- with :
24
- repository : ${{ github.repository_owner }}/eunomia-bpf
25
- ref : master
26
- path : eunomia-bpf
27
-
28
- - name : Checkout this repository
29
- uses : actions/checkout@v3
30
- with :
31
- repository : ${{ github.repository_owner }}/bpf-developer-tutorial
32
- ref : ${{ github.ref }}
33
- path : tutorial
34
-
35
- - name : Change suffix
36
- run : |
37
- find ./tutorial -type f -name "*.md" ! -name "*_en*" -exec bash -c 'mv "$1" "${1%.md}.zh.md"' bash {} \;
38
- find ./tutorial -type f -name "*_en*.md" -exec bash -c 'mv "$1" "${1//_en/}"' bash {} \;
39
-
40
- - name : Merge changes
41
- run : |
42
- cp -rf eunomia-bpf/documents/src docs
43
- mkdir docs/tutorials
44
- cp -rf tutorial/src/* docs/tutorials
45
- mv tutorial/src/SUMMARY.zh.md docs/tutorials/index.zh.md
46
- mv tutorial/src/SUMMARY.md docs/tutorials/index.md
47
-
48
21
- uses : actions/setup-python@v4
49
22
with :
50
23
python-version : 3.x
51
24
52
- - name : Install dependents
25
+ - name : Install all
53
26
run : |
54
- pip install mkdocs-material=="9.*" mkdocs-static-i18n=="0.53"
55
- pip install "mkdocs-material[imaging]"
56
- pip install mkdocs-git-revision-date-localized-plugin
57
- pip install mkdocs-git-authors-plugin
27
+ make install
58
28
59
29
- name : Test page build
60
30
run : |
You can’t perform that action at this time.
0 commit comments