Skip to content

Commit a324278

Browse files
humitosericholscher
authored andcommitted
Build: hardcode the Docker username for now
This is a quick fix for a hotfix. `RTD_DOCKER_USER` is `docs:docs` so we can't use it inside the path.
1 parent ab4e53d commit a324278

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

readthedocs/doc_builder/environments.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,7 @@ def run(self):
312312
# /home/docs/.asdf/shims:/home/docs/.asdf/bin
313313
# :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
314314
# docs@bfe702e31cdd:~$
315-
asdf_paths = (
316-
f"/home/{settings.RTD_DOCKER_USER}/.asdf/shims"
317-
f":/home/{settings.RTD_DOCKER_USER}/.asdf/bin"
318-
)
315+
asdf_paths = "/home/docs/.asdf/shims:/home/docs/.asdf/bin"
319316
if settings.RTD_DOCKER_COMPOSE:
320317
asdf_paths += ":/root/.asdf/shims:/root/.asdf/bin"
321318

0 commit comments

Comments
 (0)