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

This commit is contained in:
Struchkov Mark 2023-02-19 17:48:57 +03:00
parent 535206aa04
commit 6d1e69eba2
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -126,12 +126,13 @@ steps:
- mkdir -p ~/.ssh
- echo "$SSH_DEPLOY_KEY" >> ~/.ssh/id_rsa
- chmod 700 ~/.ssh
- chmod 600 ~/.ssh/id_rsa
- ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- scp -r -P $SSH_DEPLOY_PORT ./site $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
---
kind: signature
hmac: b2b46f40efaa0a4a777d256d80b07e95a1dd09b683fc89d28af080df17b3e266
hmac: 7bd0d9874606373145ebf82f0ca38310649b7e8b5ad9eb951f4cc04a1723592b
...