File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1- name : build-mkdocs-gh-pages-branch
1+ name : Deploy MkDocs to GitHub Pages
22
33on :
44 push :
@@ -17,15 +17,19 @@ jobs:
1717 with :
1818 fetch-depth : 0
1919
20- - uses : actions/setup-python@v5
20+ - name : Setup Python
21+ uses : actions/setup-python@v5
2122 with :
2223 python-version : ' 3.x'
2324
2425 - name : Install dependencies
2526 run : |
2627 pip install mkdocs-material mkdocs-git-revision-date-localized-plugin pymdown-extensions mkdocs-mermaid2-plugin
2728
28- - name : Deploy to GitHub Pages
29- run : mkdocs gh-deploy --force
29+ - name : Build and deploy to GitHub Pages
30+ run : |
31+ git config --global user.name "github-actions[bot]"
32+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
33+ mkdocs gh-deploy --force --clean
3034 env :
3135 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11site_name : Codebase Interface
22site_description : A documented set of principles that aim to promote the ease of use of codebases across languages and frameworks
3- site_url : https://codebaseinterface.org
4- repo_url : https://github.com/codebase-interface/codebaseinterface
5- repo_name : codebase-interface/codebaseinterface
3+ site_url : https://codebase-interface.github.io/docs/
4+ repo_url : https://github.com/codebase-interface/docs
5+ repo_name : codebase-interface/docs
66edit_uri : edit/main/docs/
77
88theme :
You can’t perform that action at this time.
0 commit comments