-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (37 loc) · 932 Bytes
/
Copy pathdocs.yaml
File metadata and controls
44 lines (37 loc) · 932 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: Build and Deploy Documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: write
jobs:
generate:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ["macos-latest"]
python-version: ["3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Install dependencies
run: |
python -m pip install -U pip setuptools wheel
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -e .
pip list
- name: Generate docs
run: |
cd docs
mkdocs gh-deploy --force