From 52b8ea5c2242c9ab59b2f9e84c6ee36acbd85857 Mon Sep 17 00:00:00 2001 From: Jacob Pavlock Date: Sat, 6 Apr 2024 12:03:34 -0700 Subject: [PATCH] ci: update readthedocs build taken from https://github.com/readthedocs/readthedocs.org/issues/4912#issuecomment-1992286540 --- .github/workflows/preview_docs.yml | 2 +- .readthedocs.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/preview_docs.yml b/.github/workflows/preview_docs.yml index 34db8b3..2cc847c 100644 --- a/.github/workflows/preview_docs.yml +++ b/.github/workflows/preview_docs.yml @@ -15,4 +15,4 @@ jobs: steps: - uses: readthedocs/actions/preview@v1 with: - project-slug: "mrmoe" + project-slug: "moe-transcode" diff --git a/.readthedocs.yml b/.readthedocs.yml index 2ac2674..d8a05e2 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,12 +6,12 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.10" + python: "3.12" jobs: + post_create_environment: + - python -m pip install poetry post_install: - - pip install poetry - - poetry config virtualenvs.create false - - poetry install --without lint,test + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs sphinx: configuration: docs/conf.py