Skip to content

Commit 2d6fc3a

Browse files
authored
Merge pull request #150 from sanketverma1704/update_rtd_build
Update RTD .yml
2 parents d939f91 + 9388665 commit 2d6fc3a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.readthedocs.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ version: 2
88
# Set the version of Python and other tools you might need
99
build:
1010
os: ubuntu-24.04
11+
12+
tools:
13+
ruby: "3.4"
14+
1115
commands:
12-
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409b6b1796c275462a1703113804bb82d39dc0e3 7d2baf1cf37b13e2069d6956105bd0e739499bdb && curl -sSL https://get.rvm.io | bash -s stable
13-
- ~/.rvm/bin/rvm autolibs disable && ~/.rvm/bin/rvm install ruby 3.4.3
14-
- PATH="$HOME/.rvm/rubies/ruby-3.4.3/bin:$PATH" gem install bundler
15-
- PATH="$HOME/.rvm/rubies/ruby-3.4.3/bin:$PATH" bundle install
16-
- PATH="$HOME/.rvm/rubies/ruby-3.4.3/bin:$PATH" bundle exec jekyll build --destination _readthedocs/html --baseurl $(echo -n "$READTHEDOCS_CANONICAL_URL" | cut -d '/' -f 4-)
16+
- bundle install
17+
- >
18+
JEKYLL_ENV=production bundle exec jekyll build --destination
19+
_readthedocs/html --baseurl $(echo -n "$READTHEDOCS_CANONICAL_URL" | cut
20+
-d '/' -f 4-)

0 commit comments

Comments
 (0)