Настройка dev сборки документации

This commit is contained in:
Struchkov Mark 2023-02-23 22:09:08 +03:00
parent 430b41bc7a
commit 13b6dfac49
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -121,14 +121,15 @@ steps:
environment:
GIT_SSH:
from_secret: GIT_SSH
SSH_CONFIG:
from_secret: SSH_CONFIG
# SSH_CONFIG:
# from_secret: SSH_CONFIG
GIT_SSH_COMMAND: "ssh -i ~/.ssh/id_rsa -p 222"
commands:
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- echo "$GIT_SSH" >> ~/.ssh/id_rsa
- echo "$SSH_CONFIG" >> ~/.ssh/config
- chmod 700 ~/.ssh
- echo "$GIT_SSH" >> ~/.ssh/id_rsa
# - echo "$SSH_CONFIG" >> ~/.ssh/config
- chmod 600 ~/.ssh/id_rsa
- ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts