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 11## How to build the docs
2+
23From the root directory of the repository, do the following to steps
34
451 . Install docs' dependencies
Original file line number Diff line number Diff line change 2121 start="<!-- footer-start--> "
2222 end="<!-- footer-end--> "
2323%}
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
22site_description : " Developer documentation from sources."
33site_url : " https://shenxianpeng.github.io/cpp-linter-action"
44repo_url : " https://github.com/shenxianpeng/cpp-linter-action"
You can’t perform that action at this time.
0 commit comments