See the best posts from any Bluesky account
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Set HOME in deploy workflow so ssh can resolve a home dir

The Tangled spindle runner has no /etc/passwd entry for uid 0, so
tilde expansion and ssh's own home-dir lookup fail with "No user
exists for uid 0". Pointing HOME at a fresh temp dir sidesteps both.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+5 -4
+5 -4
.tangled/workflows/deploy.yml
··· 15 15 - name: "Deploy via SSH" 16 16 command: | 17 17 set -euo pipefail 18 - mkdir -p ~/.ssh 19 - printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_deploy 20 - chmod 600 ~/.ssh/id_deploy 18 + export HOME="$(mktemp -d)" 19 + mkdir -p "$HOME/.ssh" 20 + printf '%s\n' "$DEPLOY_SSH_KEY" > "$HOME/.ssh/id_deploy" 21 + chmod 600 "$HOME/.ssh/id_deploy" 21 22 ssh \ 22 - -i ~/.ssh/id_deploy \ 23 + -i "$HOME/.ssh/id_deploy" \ 23 24 -o StrictHostKeyChecking=no \ 24 25 -o UserKnownHostsFile=/dev/null \ 25 26 "$DEPLOY_USER@$DEPLOY_HOST" \