File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+
5+ jobs :
6+ build :
7+ name : Build
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ with :
12+ fetch-depth : 0
13+ - uses : actions/setup-python@v2
14+ with :
15+ python-version : " 3.12"
16+ - name : Install dependencies
17+ run : |
18+ pip install -r requirements.txt
19+ - name : Build site
20+ run : |
21+ mkdocs build
Original file line number Diff line number Diff line change 66
77jobs :
88 deploy-pages :
9- name : Deploy to pages
9+ name : Pages
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ repo_url: https://github.com/kangasta/cicd-examples
66copyright : Copyright © 2020 Toni Kangas
77
88docs_dir : examples/
9+ edit_uri : edit/main/examples/
910
1011nav :
1112- Home : index.md
@@ -42,10 +43,18 @@ theme:
4243 favicon : favicon.png
4344 language : en
4445 features :
46+ - content.action.edit
47+ - content.action.view
4548 - navigation.instant
4649 - navigation.sections
50+
4751plugins :
4852 - search
53+ - git-committers :
54+ repository : kangasta/cicd-examples
55+ branch : main
56+ - git-revision-date-localized :
57+ enable_creation_date : true
4958
5059markdown_extensions :
5160 - pymdownx.highlight :
Original file line number Diff line number Diff line change 11# Dependencies for auto-generating and developing docs
22mkdocs ~= 1.5
33mkdocs-material ~= 9.5
4+ mkdocs-git-revision-date-localized-plugin ~= 1.2
5+ mkdocs-git-committers-plugin-2 ~= 2.4
You can’t perform that action at this time.
0 commit comments