fix(ci): avoid SIGPIPE (exit 141) in rsync version check under pipefail
Deploy to plate-software.de / deploy (push) Failing after 11s

This commit is contained in:
2026-06-22 12:32:47 +02:00
parent 177d5859e1
commit 5f3a1f9128
+4 -1
View File
@@ -37,7 +37,10 @@ jobs:
if ! command -v rsync >/dev/null 2>&1; then if ! command -v rsync >/dev/null 2>&1; then
apt-get update -y && apt-get install -y rsync openssh-client apt-get update -y && apt-get install -y rsync openssh-client
fi fi
rsync --version | head -1 # Avoid `rsync --version | head` — head closing the pipe early sends
# SIGPIPE to rsync (exit 141) which trips `pipefail`. Print plainly.
ver=$(rsync --version | sed -n '1p')
echo "Using $ver"
- name: Load deploy key - name: Load deploy key
run: | run: |