Передача сгенерированного сайта на сервер
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
ef62bea972
commit
dbd54e7e16
@ -123,7 +123,7 @@ 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)
|
||||||
- echo "$SSH_DEPLOY_KEY" >> $HOME/.ssh/id_rsa
|
- 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
|
||||||
@ -131,6 +131,6 @@ steps:
|
|||||||
- 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 -o StrictHostKeyChecking=no ./site $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 00598b37fa3f1f31f1348b9ed45683cfdf9585a2790f28e070bebbab1b6d72d6
|
hmac: 27a215d8369b1a55bdd4ded143feb91efd37b18b9a30621db635345813f59547
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user