1
Fork 0

Add openssh dependency to CI

master
Vladimir Hodakov 2018-10-28 21:18:07 +04:00
parent 8b1e914791
commit d7791f64b5
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
1 changed files with 5 additions and 5 deletions

View File

@ -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