Ignore host key verification
All checks were successful
Deploy website / deploy (push) Successful in 15s
All checks were successful
Deploy website / deploy (push) Successful in 15s
This commit is contained in:
parent
a7aa4bd7c8
commit
8d5c43cb66
@ -10,6 +10,7 @@ jobs:
|
|||||||
runs-on: luare
|
runs-on: luare
|
||||||
env:
|
env:
|
||||||
DEPLOY_HOST: lilac.a.lua.re
|
DEPLOY_HOST: lilac.a.lua.re
|
||||||
|
SSH_OPTS: -o ForwardAgent=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -25,4 +26,4 @@ jobs:
|
|||||||
eval "$(ssh-agent -s)"
|
eval "$(ssh-agent -s)"
|
||||||
trap 'eval $(ssh-agent -k)' EXIT
|
trap 'eval $(ssh-agent -k)' EXIT
|
||||||
ssh-add - <<< "${{ secrets.SSH_KEY }}"
|
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/"
|
||||||
|
Loading…
Reference in New Issue
Block a user