Add openssh dependency to CI
This commit is contained in:
parent
8b1e914791
commit
d7791f64b5
@ -4,13 +4,12 @@ variables:
|
|||||||
JEKYLL_ENV: production
|
JEKYLL_ENV: production
|
||||||
LC_ALL: en_US.UTF-8
|
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:
|
build site:
|
||||||
stage: build
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- apk add --no-cache g++ musl-dev make
|
||||||
|
- apk add --no-cache libstdc++
|
||||||
|
- bundle install --path=vendor/
|
||||||
script:
|
script:
|
||||||
- bundle exec jekyll build -d lorchess.ru
|
- bundle exec jekyll build -d lorchess.ru
|
||||||
|
|
||||||
@ -19,6 +18,7 @@ deploy site:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
before_script:
|
before_script:
|
||||||
|
- apk add --no-cache openssh-client
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$DEPLOY_SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
- echo "$DEPLOY_SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
|
Loading…
Reference in New Issue
Block a user