-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (34 loc) · 980 Bytes
/
deploy.yml
File metadata and controls
44 lines (34 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Deploy MkDocs site
on:
push:
branches: [ main ]
pull_request:
types: [ closed ]
branches: [ main ]
workflow_dispatch:
permissions:
contents: write # needed so the action can push to gh-pages
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install MkDocs + Material
run: |
pip install mkdocs-material
- name: Install Mkdocs-plugin
run: |
pip install mkdocs-macros-plugin pyyaml mkdocs-glightbox pymdown-extensions
- name: Build MkDocs site
run: mkdocs build --strict
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
cname: wiki.meshmapper.net