Skip to content

Commit baf7bd2

Browse files
committed
refactor: update workflow names and clean up deploy script
1 parent 40588b8 commit baf7bd2

File tree

2 files changed

+9
-79
lines changed

2 files changed

+9
-79
lines changed

.github/workflows/changelog.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/deploy-docs.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy MkDocs to GitHub Pages
1+
name: build-mkdocs-gh-pages-branch
22

33
on:
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 }}

0 commit comments

Comments
 (0)