From 49176623b3c64690cd1437fe9ac2f2e1cef1d274 Mon Sep 17 00:00:00 2001 From: Thomas SharedInbox Date: Sat, 23 May 2026 12:20:09 +0200 Subject: [PATCH] fix(ci): use file: prefix for SSH key in publish-website env:SSH_PRIVATE_KEY passes the key through shell $() which strips the trailing newline, causing dagger to write a truncated key that OpenSSH rejects with "error in libcrypto". Using file: reads it directly from disk, preserving exact content. Co-Authored-By: Claude Sonnet 4.6 --- Taskfile.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index a9de4d4..04f6959 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -260,11 +260,8 @@ tasks: publish-website: desc: Build and publish website via Dagger - preconditions: - - sh: test -n "$SSH_PRIVATE_KEY" - msg: "SSH_PRIVATE_KEY is not set" cmds: - - dagger call --progress=plain -q -m ci --source=. publish-website --ssh-key env:SSH_PRIVATE_KEY --ssh-user "$SSH_USER" --ssh-host "$SSH_HOST" + - dagger call --progress=plain -q -m ci --source=. publish-website --ssh-key file:$HOME/.ssh/id_ed25519 --ssh-user "$SSH_USER" --ssh-host "$SSH_HOST" check-dagger: desc: Run full check suite via Dagger (with OTEL timing report if python3 is available)