Передача сгенерированного сайта на сервер
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
dcb187b9e3
commit
4d85ed0fff
@ -126,12 +126,12 @@ steps:
|
||||
- echo "$SSH_DEPLOY_KEY" >> ssh-add -
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- ssh-keyscan $SSH_DEPLOY_HOST -p $SSH_DEPLOY_PORT >> ~/.ssh/known_hosts
|
||||
- ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- scp -r -P $SSH_DEPLOY_PORT -o StrictHostKeyChecking=no ./site $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
|
||||
- scp -r -P $SSH_DEPLOY_PORT ./site $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: d26c3a293c2a988f507aea3671dc3862447a198ec53664339132c9671740ca31
|
||||
hmac: 1d43869972768ddfb850ca684762c6048c61abeba7c6c8257ccba8f406537786
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user