Skip to content

Commit bf20008

Browse files
Try to fix links
1 parent dc47ab4 commit bf20008

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,29 @@ name: Deploy Docs
22
on:
33
push:
44
branches: [main]
5+
permissions:
6+
contents: write
7+
pages: write
8+
id-token: write
59
jobs:
610
build-and-deploy:
711
runs-on: ubuntu-latest
812
steps:
9-
- uses: actions/checkout@v4
13+
- name: Checkout
14+
uses: actions/checkout@v4
1015
- name: Set up Python
1116
uses: actions/setup-python@v5
12-
with: { python-version: '3.x' }
17+
with:
18+
python-version: '3.x'
1319
- name: Install dependencies
1420
run: pip install mkdocs mkdocs-material
15-
- name: Build and deploy
16-
run: mkdocs gh-deploy --force
21+
- name: Build site
22+
run: mkdocs build
23+
- name: Setup Pages
24+
uses: actions/configure-pages@v5
25+
- name: Upload artifact
26+
uses: actions/upload-pages-artifact@v3
27+
with:
28+
path: site
29+
- name: Deploy to GitHub Pages
30+
uses: actions/deploy-pages@v4

build.sh

100644100755
File mode changed.

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
site_name: MicroPythonOS Documentation
22
site_url: https://docs.micropythonos.com
33
repo_url: https://github.com/MicroPythonOS/MicroPythonOS
4+
use_directory_urls: true
45
theme:
56
name: material
67
palette:

serve.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)