Add openssh dependency to CI
This commit is contained in:
parent
8b1e914791
commit
d7791f64b5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user