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

This commit is contained in:
Struchkov Mark 2023-02-19 18:00:31 +03:00
parent 6bf34a5455
commit 4238c713b6
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -125,7 +125,7 @@ steps:
- 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)
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "$SSH_DEPLOY_KEY" >> ~/.ssh/id_rsa - echo "$SSH_DEPLOY_KEY" > ~/.ssh/id_rsa
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- chmod 600 ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa
- ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts - ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts
@ -134,6 +134,6 @@ steps:
--- ---
kind: signature kind: signature
hmac: dbbcd47c7e891084912f74bafd019c43b1a5d5e3bd57b8bdd1871b68c11ea4f2 hmac: 131a63a1d5fd59781a1a7c413f31e97ccacdceb14b52982b285ac9f8f2a828c2
... ...