File tree Expand file tree Collapse file tree 2 files changed +9
-79
lines changed
Expand file tree Collapse file tree 2 files changed +9
-79
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Deploy MkDocs to GitHub Pages
1+ name : build-mkdocs-gh-pages-branch
22
33on :
44 push :
@@ -15,23 +15,20 @@ jobs:
1515 - name : Checkout repository
1616 uses : actions/checkout@v4
1717 with :
18- fetch-depth : 0
18+ fetch-depth : 0 # Fetch all history for all branches and tags
1919
20- - name : Setup Python
21- uses : actions/setup-python@v5
20+ - uses : actions/setup-python@v5
2221 with :
2322 python-version : ' 3.x'
2423
2524 - name : Install dependencies
26- run : |
27- pip install mkdocs-material mkdocs-git-revision-date-localized-plugin pymdown-extensions mkdocs-mermaid2-plugin
25+ run : |
26+ pip install mkdocs-material mkdocs-git-revision-date-localized-plugin pymdown-extensions
2827
29- - name : Configure git for deployment
30- run : |
31- git config --global user.name "github-actions[bot]"
32- git config --global user.email "github-actions[bot]@users.noreply.github.com"
28+ # - name: Generate changelog
29+ # run: git-cliff -c cliff.toml
3330
34- - name : Build and deploy to gh-pages branch
35- run : mkdocs gh-deploy --force --clean
31+ - name : Build and Deploy
32+ run : mkdocs gh-deploy --force
3633 env :
3734 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments