From d7791f64b57ea886b9d97454f5707c56c2131983 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Sun, 28 Oct 2018 21:18:07 +0400 Subject: [PATCH] Add openssh dependency to CI --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07cee38..47011bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,13 +4,12 @@ variables: JEKYLL_ENV: production LC_ALL: en_US.UTF-8 -before_script: - - apk add --no-cache g++ musl-dev make - - apk add --no-cache libstdc++ - - bundle install --path=vendor/ - build site: stage: build + before_script: + - apk add --no-cache g++ musl-dev make + - apk add --no-cache libstdc++ + - bundle install --path=vendor/ script: - bundle exec jekyll build -d lorchess.ru @@ -19,6 +18,7 @@ deploy site: only: - master before_script: + - apk add --no-cache openssh-client - mkdir -p ~/.ssh - echo "$DEPLOY_SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa