-
Notifications
You must be signed in to change notification settings - Fork 225
40 lines (34 loc) · 860 Bytes
/
Copy pathdocs.yml
File metadata and controls
40 lines (34 loc) · 860 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
name: docs
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python 3.12
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.12'
cache: 'pip'
cache-dependency-path: |
setup.py
requirements-docs.txt
- name: Install Dependencies
run: pip install -r requirements-docs.txt
- name: Build docs to check for errors
run: mkdocs build