Skip to content

Commit 56a1ef9

Browse files
committed
fix: remove redundant CNAME copying step and streamline deploy workflow
1 parent 3ad56ae commit 56a1ef9

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,17 @@ jobs:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
1717
with:
18-
fetch-depth: 0 # Fetch all history for all branches and tags
18+
fetch-depth: 0
1919

2020
- uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.x'
2323

2424
- name: Install dependencies
25-
run: |
26-
pip install mkdocs-material mkdocs-git-revision-date-localized-plugin pymdown-extensions
27-
28-
# - name: Generate changelog
29-
# run: git-cliff -c cliff.toml
30-
31-
- name: Copy CNAME
3225
run: |
33-
mkdir -p site
34-
cp CNAME site/
26+
pip install mkdocs-material mkdocs-git-revision-date-localized-plugin pymdown-extensions
3527
36-
- name: Build and Deploy
28+
- name: Deploy to GitHub Pages
3729
run: mkdocs gh-deploy --force
3830
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
41-
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CNAME renamed to docs/CNAME

File renamed without changes.

0 commit comments

Comments
 (0)