-
Notifications
You must be signed in to change notification settings - Fork 14
34 lines (30 loc) · 1003 Bytes
/
build-docs.yml
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
name: build-docs-workflow
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-docs:
name: "Build Sphinx docs"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7']
steps:
- name: Checkout Pilot 3 repo
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Pip install
run: pip install sphinx
- name: Check sphinx version
run: python -c "import sphinx;print(sphinx.__version__)"
- name: Trigger panda-docs webhook
env:
READDOCS_TOKEN: ${{ secrets.READDOCS_TOKEN }}
READDOCS_HOOK: ${{ secrets.READDOCS_HOOK }}
run: curl -X POST -d "token=$READDOCS_TOKEN" $READDOCS_HOOK