Skip to content

Commit 2f881f7

Browse files
committed
ci: update readthedocs build
taken from readthedocs/readthedocs.org#4912 (comment)
1 parent 38683bb commit 2f881f7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/preview_docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
steps:
1616
- uses: readthedocs/actions/preview@v1
1717
with:
18-
project-slug: "mrmoe"
18+
project-slug: "moe-transcode"

.readthedocs.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ version: 2
66
build:
77
os: ubuntu-22.04
88
tools:
9-
python: "3.10"
9+
python: "3.12"
1010
jobs:
11+
post_create_environment:
12+
- python -m pip install poetry
1113
post_install:
12-
- pip install poetry
13-
- poetry config virtualenvs.create false
14-
- poetry install --without lint,test
14+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1515

1616
sphinx:
1717
configuration: docs/conf.py

0 commit comments

Comments
 (0)