Skip to content

Commit

Permalink
Fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
calpt committed May 30, 2022
1 parent 2465cb3 commit 97bf6d6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/adapter_docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Build Adapter Docs
on:
push:
branches: [ master ]
paths: [ 'adapter_docs/**' ]
paths:
- '.github/workflows/**'
- 'adapter_docs/**'
workflow_dispatch:

jobs:
Expand All @@ -16,12 +18,14 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.6
python-version: 3.8
- name: Install
run: |
pip install setuptools==57.4.0
pip install -e .[torch,docs]
pip install setuptools
pip install torch
pip install Jinja2<3.1
pip install recommonmark==0.7.1
pip install -e .[docs]
- name: Build
run: |
cd adapter_docs && make html-multi-version && cd ..
Expand Down

0 comments on commit 97bf6d6

Please sign in to comment.