From: Jonathan Rajotte Date: Thu, 27 May 2021 17:07:45 +0000 (-0400) Subject: lttng-www: use bootstrap.sh instead of the ubuntu variant X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=75816d8726ce652228664e72f00d9e53d4fcb721;p=lttng-ci.git lttng-www: use bootstrap.sh instead of the ubuntu variant The distributed jekyll version of ubuntu 18.04 is lower than the lttng-www dependancy of jekyll v4. Instead use the boostrap.sh script that essentially install jekyll via `gem install`. Signed-off-by: Jonathan Rajotte --- diff --git a/scripts/lttng-www/deploy.sh b/scripts/lttng-www/deploy.sh index 9224b4e..59a6ad4 100755 --- a/scripts/lttng-www/deploy.sh +++ b/scripts/lttng-www/deploy.sh @@ -29,12 +29,14 @@ cp "$KEY_FILE_VARIABLE" ~/.ssh/id_rsa curl -fsSL https://deb.nodesource.com/setup_15.x | bash - apt-get install -y nodejs -apt-get install -y ruby asciidoc xmlto +apt-get install -y ruby-dev asciidoc xmlto python3 python3-pip npm install -g grunt-cli npm install -g sass -./bootstrap-ubuntu.sh +export PATH="/root/.gem/ruby/2.5.0/bin:$PATH" + +./bootstrap.sh grunt build:prod grunt deploy:prod