Ignore host key verification
All checks were successful
Deploy website / deploy (push) Successful in 15s

This commit is contained in:
luaneko 2024-12-03 18:27:52 +11:00
parent a7aa4bd7c8
commit 8d5c43cb66
Signed by: luaneko
GPG Key ID: 406809B8763FF07A

View File

@ -10,6 +10,7 @@ jobs:
runs-on: luare
env:
DEPLOY_HOST: lilac.a.lua.re
SSH_OPTS: -o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
steps:
- name: Checkout
@ -25,4 +26,4 @@ jobs:
eval "$(ssh-agent -s)"
trap 'eval $(ssh-agent -k)' EXIT
ssh-add - <<< "${{ secrets.SSH_KEY }}"
rsync -avzh --delete 'dist/' "caddy@$DEPLOY_HOST:sites/lua.re/"
rsync -avzhe "ssh $SSH_OPTS" --delete 'dist/' "caddy@$DEPLOY_HOST:sites/lua.re/"