ci: some bastardisation for thbe ssh
Some checks failed
Build_Deploy / deploy_dns (push) Failing after 35s

This commit is contained in:
silver 2024-08-07 12:35:18 +01:00
parent 0871e011a2
commit 3298840cc9

View file

@ -43,7 +43,9 @@ jobs:
whoami
eval $(ssh-agent -s)
echo "${{ secrets.DEPLOY_KEY }}" | tr -d '\r' | ssh-add -
mkdir -p .ssh
chmod 700 .ssh
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > .ssh/config
- run: colmena apply -v --on @active-dns
mkdir -p ~/.ssh
chmod 700 ~/.ssh
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- run: |
alias ssh='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=~/.ssh/known_hosts -F ~/.ssh/config'
colmena apply -v --on @active-dns