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

This commit is contained in:
Struchkov Mark 2023-02-19 17:27:48 +03:00
parent 12c73a918e
commit 3cd88fd4cc
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -117,6 +117,8 @@ steps:
from_secret: SSH_DEPLOY_PORT
SSH_DEPLOY_PATH:
from_secret: SSH_DEPLOY_PATH
SSH_DEPLOY_USER:
from_secret: SSH_DEPLOY_USER
commands:
- mkdocs build
- 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
---
kind: signature
hmac: a5a75fc727f211de45d4187a49212e7b1151d43198b0cb02064e9764835bee99
hmac: 93d091d5bc62236b4494f02ea937404906fadd99c9c59ab06e13a747e9c51df2
...