Skip to content

Commit 42fb277

Browse files
committed
Fix incorrect directory name
1 parent f9d2907 commit 42fb277

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ build:
1111
- "wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.6.40/quarto-1.6.40-linux-amd64.tar.gz"
1212

1313
# Install
14-
- "mkdir ~/opt && tar -C ~/opt -xvzf quarto*.tar.gz"
15-
- "mkdir ~/bin && ln -s ~/opt/quarto-1.3.450/bin/quarto ~/bin/quarto"
14+
- "mkdir --parents ~/opt/quarto ~/bin"
15+
- "tar -C ~/opt/quarto -xvzf quarto*.tar.gz --strip-components 1"
16+
- "ln -s ~/opt/quarto/bin/quarto ~/bin/quarto"
1617

1718
# Render
1819
- "cd doc && ~/bin/quarto render"

0 commit comments

Comments
 (0)