Передача сгенерированного сайта на сервер
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
a3a6a65cb6
commit
577fb54725
@ -121,7 +121,7 @@ steps:
|
|||||||
- mkdocs build
|
- mkdocs build
|
||||||
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
|
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_DEPLOY_KEY" | ssh-add -
|
- echo "$SSH_DEPLOY_KEY" >> ssh-add -
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- ssh-keyscan $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts
|
- ssh-keyscan $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts
|
||||||
|
Loading…
Reference in New Issue
Block a user