Передача сгенерированного сайта на сервер
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
6785478646
commit
1e78b1b58d
10
.drone.yml
10
.drone.yml
@ -121,14 +121,14 @@ 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)
|
||||||
- ssh-add "$SSH_DEPLOY_KEY"
|
- echo "$SSH_DEPLOY_KEY" >> ssh-add -
|
||||||
- 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
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
# - chmod 644 ~/.ssh/known_hosts
|
||||||
- scp -c -P $SSH_DEPLOY_PORT ./site $SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
|
- scp -P $SSH_DEPLOY_PORT ./site $SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 769dc8eadb821015af3d63bd7396a6cc73f3bfc47811ca149b156a9deae2472f
|
hmac: 36908a2d4ae532848639ea809f83821f07e07f38869aa2f834a85184efb546a6
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user