ScuttleBot

scuttlebot / .github / workflows / docs.yml
Blame History Raw 32 lines
1
name: Deploy Docs
2
3
on:
4
push:
5
branches: [main]
6
paths:
7
- "docs/**"
8
- "mkdocs.yml"
9
workflow_dispatch:
10
11
permissions:
12
contents: write
13
pages: write
14
id-token: write
15
16
jobs:
17
deploy:
18
runs-on: ubuntu-latest
19
steps:
20
- uses: actions/checkout@v4
21
22
- uses: actions/setup-python@v5
23
with:
24
python-version: "3.12"
25
26
- name: Install dependencies
27
run: |
28
pip install mkdocs-material pymdown-extensions
29
30
- name: Build and deploy
31
run: mkdocs gh-deploy --force
32

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button