forked from socon-dev/socon
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 745 Bytes
/
docs.yml
File metadata and controls
46 lines (37 loc) · 745 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
45
46
name: Docs
on:
pull_request:
branches:
- master
- 'release/**'
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
push:
branches:
- master
- 'release/**'
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
permissions:
contents: read
jobs:
docs:
runs-on: ubuntu-latest
name: docs
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Build docs
run: tox -e docs