Передача сгенерированного сайта на сервер
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2023-02-19 16:46:32 +03:00
parent 577fb54725
commit 6785478646
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -121,7 +121,7 @@ steps:
- mkdocs build
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)
- echo "$SSH_DEPLOY_KEY" >> ssh-add -
- ssh-add "$SSH_DEPLOY_KEY"
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts