Skip to content

Commit 41ac435

Browse files
authored
Update release.yml
1 parent fa2a30b commit 41ac435

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,27 @@ jobs:
3939
generate_release_notes: true
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
43+
44+
# Set up Python environment
45+
- name: Set up Python
46+
uses: actions/setup-python@v5
47+
with:
48+
python-version: 3.11
49+
50+
# Install dependencies
51+
- name: Install dependencies
52+
run: |
53+
pip install mkdocs==1.5.3 mkdocs-material pymdown-extensions mkdocs-minify-plugin
54+
55+
# Build the MkDocs site
56+
- name: Build MkDocs site
57+
run: mkdocs build
58+
59+
# Deploy to GitHub Pages
60+
- name: Deploy to GitHub Pages
61+
uses: peaceiris/actions-gh-pages@v4
62+
with:
63+
github_token: ${{ secrets.GITHUB_TOKEN }}
64+
publish_dir: site
65+

0 commit comments

Comments
 (0)