ci: some bastardisation for thbe ssh
Some checks failed
Build_Deploy / deploy_dns (push) Failing after 35s
Some checks failed
Build_Deploy / deploy_dns (push) Failing after 35s
This commit is contained in:
parent
0871e011a2
commit
3298840cc9
1 changed files with 6 additions and 4 deletions
|
@ -43,7 +43,9 @@ jobs:
|
||||||
whoami
|
whoami
|
||||||
eval $(ssh-agent -s)
|
eval $(ssh-agent -s)
|
||||||
echo "${{ secrets.DEPLOY_KEY }}" | tr -d '\r' | ssh-add -
|
echo "${{ secrets.DEPLOY_KEY }}" | tr -d '\r' | ssh-add -
|
||||||
mkdir -p .ssh
|
mkdir -p ~/.ssh
|
||||||
chmod 700 .ssh
|
chmod 700 ~/.ssh
|
||||||
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > .ssh/config
|
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- run: colmena apply -v --on @active-dns
|
- run: |
|
||||||
|
alias ssh='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=~/.ssh/known_hosts -F ~/.ssh/config'
|
||||||
|
colmena apply -v --on @active-dns
|
Loading…
Reference in a new issue