-
Notifications
You must be signed in to change notification settings - Fork 2.8k
33 lines (27 loc) · 733 Bytes
/
deploy.yml
File metadata and controls
33 lines (27 loc) · 733 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
name: Deploy MkDocs to GitHub Pages
on:
push:
branches:
- master # Set this to your default branch name (e.g., main or master)
workflow_dispatch: # Allows manual triggering from the GitHub UI
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material
pip install pillow cairosvg
- name: Deploy MkDocs
run: |
mkdocs gh-deploy --force