File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : MkDocs Deploy
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ paths :
7
+ - ' docs/**'
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - uses : actions/setup-python@v2
16
+ with :
17
+ python-version : 3.x
18
+ - run : pip install -r docs/requirements.txt
19
+ - run : |
20
+ git config user.name 'github-actions'
21
+ git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
22
+ mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1
1
## How to build the docs
2
+
2
3
From the root directory of the repository, do the following to steps
3
4
4
5
1 . Install docs' dependencies
Original file line number Diff line number Diff line change 21
21
start="<!-- footer-start--> "
22
22
end="<!-- footer-end--> "
23
23
%}
24
- {%
25
- include-markdown "README.md"
26
- %}
Original file line number Diff line number Diff line change 1
- site_name : C/C++ Linter Action's Docs
1
+ site_name : C/C++ Linter Action
2
2
site_description : " Developer documentation from sources."
3
3
site_url : " https://shenxianpeng.github.io/cpp-linter-action"
4
4
repo_url : " https://github.com/shenxianpeng/cpp-linter-action"
You can’t perform that action at this time.
0 commit comments