Skip to content

Commit b910b87

Browse files
update workflow
Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent 2aff288 commit b910b87

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
name: Build Docs
2+
permissions: read-all
23

34
on:
45
workflow_dispatch: # run on request (no need for PR)
56
push:
67
branches:
78
- master
89

9-
# Declare default permissions as read only.
10-
permissions: read-all
11-
1210
jobs:
1311
Build-Docs:
1412
runs-on: ubuntu-20.04
@@ -22,9 +20,7 @@ jobs:
2220
with:
2321
python-version: "3.10"
2422
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
pip install -r docs/requirements.txt
23+
run: pip install 'model_api/python/.[docs]'
2824
- name: Install and Generate Doxygen
2925
uses: mattnotmitt/[email protected]
3026
- name: Build Docs

docs/requirements.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)