Передача сгенерированного сайта на сервер
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
577fb54725
commit
6785478646
@ -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 -
|
- ssh-add "$SSH_DEPLOY_KEY"
|
||||||
- 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