chore: update for host key checking
Some checks failed
Build and Deploy Production / build-and-push (push) Successful in 2m8s
Build and Deploy Production / deploy (push) Failing after 13s

This commit is contained in:
2025-09-06 18:44:06 +10:00
parent 18b38d7cc7
commit 50f4258a20

View File

@ -55,6 +55,9 @@ jobs:
mkdir -p ~/.ssh
eval $(ssh-agent -s)
ssh-add <(echo "${{ secrets.SSH_PRIVATE_KEY }}")
echo "HOST *" > ~/.ssh/config
echo "StrictHostKeyChecking no" >> ~/.ssh/config
echo "nameserver 10.10.10.1" > /etc/resolv.conf
echo "Uploading docker-compose.yml and .env.production..."
scp docker-compose.yml $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH