Skip to content

Commit 6899a56

Browse files
committed
update workflow
1 parent 64aec7c commit 6899a56

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/deploy-docs.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
- feat/docs
8+
- feat/veadk_docs
89
paths:
910
- 'docs/**'
1011
- '.github/workflows/deploy-docs.yaml'
@@ -19,30 +20,32 @@ permissions:
1920
jobs:
2021
deploy:
2122
runs-on: ubuntu-latest
23+
environment:
24+
name: github-pages
2225
steps:
2326
- name: Checkout repository
2427
uses: actions/checkout@v4
2528

26-
- name: Setup Node.js
27-
uses: actions/setup-node@v4
29+
- name: Set up Python
30+
uses: actions/setup-python@v5
2831
with:
29-
node-version: '22'
32+
python-version: '3.12'
3033

3134
- name: Install dependencies
3235
run: |
3336
cd docs
34-
npm install
37+
pip install -r requirements.txt
3538
36-
- name: Build documentation
39+
- name: Build MkDocs site
3740
run: |
3841
cd docs
39-
npx nuxt generate --extends docus
42+
mkdocs build
4043
4144
- name: Upload artifact for GitHub Pages
4245
uses: actions/upload-pages-artifact@v3
4346
with:
44-
path: docs/.output/public/
47+
path: docs/site/
4548

4649
- name: Deploy to GitHub Pages
4750
id: deploy
48-
uses: actions/deploy-pages@v4
51+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)