diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml index a8f23bc..9635441 100644 --- a/.gitea/workflows/push.yaml +++ b/.gitea/workflows/push.yaml @@ -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/"