Skip to content

Commit

Permalink
Update .readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MSanKeys963 authored Oct 8, 2023
1 parent 85e57c7 commit 0d88d0a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@ version: 2
build:
os: ubuntu-22.04
commands:
- asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
- asdf install ruby 3.1.2
- asdf global ruby 3.1.2
- gem install bundler
- gem install jekyll-include-cache
- bundle config set --local deployment 'true'
- bundle config set --local without development
- bundle install
- >
JEKYLL_ENV=production bundle exec jekyll build --destination
_readthedocs/html --baseurl $(echo -n "$READTHEDOCS_CANONICAL_URL" | cut
-d '/' -f 4-)
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409b6b1796c275462a1703113804bb82d39dc0e3 7d2baf1cf37b13e2069d6956105bd0e739499bdb && curl -sSL https://get.rvm.io | bash -s stable
- ~/.rvm/bin/rvm autolibs disable && ~/.rvm/bin/rvm install ruby 3.1.2
- PATH="$HOME/.rvm/rubies/ruby-3.1.2/bin:$PATH" gem install bundler
- PATH="$HOME/.rvm/rubies/ruby-3.1.2/bin:$PATH" bundle install
- PATH="$HOME/.rvm/rubies/ruby-3.1.2/bin:$PATH" bundle exec jekyll build --destination _readthedocs/html --baseurl $(echo -n "$READTHEDOCS_CANONICAL_URL" | cut -d '/' -f 4-)

0 comments on commit 0d88d0a

Please sign in to comment.