Skip to content

Commit 73ff141

Browse files
committed
Create GitHub Pages workflow file
- Add complete workflow configuration for GitHub Pages deployment - Include MkDocs build and deployment steps - This should enable automatic documentation deployment
1 parent c5fd420 commit 73ff141

File tree

1 file changed

+0
-63
lines changed

1 file changed

+0
-63
lines changed

.github/workflows/pages.yml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +0,0 @@
1-
name: Deploy to GitHub Pages
2-
3-
on:
4-
push:
5-
branches: [ main ]
6-
workflow_dispatch:
7-
8-
permissions:
9-
contents: read
10-
pages: write
11-
id-token: write
12-
13-
concurrency:
14-
group: "pages"
15-
cancel-in-progress: false
16-
17-
jobs:
18-
build:
19-
runs-on: ubuntu-latest
20-
21-
steps:
22-
- name: Checkout
23-
uses: actions/checkout@v4
24-
25-
- name: Set up Python 3.11
26-
uses: actions/setup-python@v4
27-
with:
28-
python-version: "3.11"
29-
30-
- name: Install dependencies
31-
run: |
32-
python -m pip install --upgrade pip
33-
pip install mkdocs mkdocs-material mkdocs-mermaid2-plugin PyYAML
34-
35-
- name: Setup Pages
36-
id: pages
37-
uses: actions/configure-pages@v3
38-
39-
- name: Verify MkDocs configuration
40-
run: |
41-
echo "Checking mkdocs.yml configuration..."
42-
mkdocs --version
43-
echo "Testing MkDocs build..."
44-
45-
- name: Build with MkDocs
46-
run: |
47-
echo "Building documentation with MkDocs..."
48-
mkdocs build --clean --verbose
49-
50-
- name: Upload artifact
51-
uses: actions/upload-pages-artifact@v2
52-
with:
53-
path: site
54-
55-
deploy:
56-
runs-on: ubuntu-latest
57-
needs: build
58-
if: success()
59-
60-
steps:
61-
- name: Deploy to GitHub Pages
62-
id: deployment
63-
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)