Передача сгенерированного сайта на сервер
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
12c73a918e
commit
3cd88fd4cc
@ -117,6 +117,8 @@ steps:
|
|||||||
from_secret: SSH_DEPLOY_PORT
|
from_secret: SSH_DEPLOY_PORT
|
||||||
SSH_DEPLOY_PATH:
|
SSH_DEPLOY_PATH:
|
||||||
from_secret: SSH_DEPLOY_PATH
|
from_secret: SSH_DEPLOY_PATH
|
||||||
|
SSH_DEPLOY_USER:
|
||||||
|
from_secret: SSH_DEPLOY_USER
|
||||||
commands:
|
commands:
|
||||||
- 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 )
|
||||||
@ -129,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: a5a75fc727f211de45d4187a49212e7b1151d43198b0cb02064e9764835bee99
|
hmac: 93d091d5bc62236b4494f02ea937404906fadd99c9c59ab06e13a747e9c51df2
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user