X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-www%2Fdeploy.sh;h=471925223c859a89053c7282b5d8e5f1f31a21cf;hb=bcd0bdf133c10be427019da38d7f3b7c88d51a07;hp=a9cd98ae90befb5182899aa281913c993a031248;hpb=8a02037bf9bc1e630ad4dfe43ba2193dd3dd9481;p=lttng-ci.git diff --git a/scripts/lttng-www/deploy.sh b/scripts/lttng-www/deploy.sh index a9cd98a..4719252 100755 --- a/scripts/lttng-www/deploy.sh +++ b/scripts/lttng-www/deploy.sh @@ -19,22 +19,24 @@ set -exu # Add ssh key for deployment -echo "StrictHostKeyChecking no" >> ~/.ssh/config +cp "$HOST_PUBLIC_KEYS" ~/.ssh/known_hosts cp "$KEY_FILE_VARIABLE" ~/.ssh/id_rsa # lttng-www dependencies # Nodejs # Using Debian, as root -curl -fsSL https://deb.nodesource.com/setup_15.x | bash - -apt-get install -y nodejs +curl -fsSL https://deb.nodesource.com/setup_16.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