fix(ci): add SSH keepalive to prevent timeout during docker pull
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 2m11s
Build & Deploy / 🏗️ Build (push) Successful in 11m51s
Build & Deploy / 🚀 Deploy (push) Successful in 24s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 3m5s
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-02 12:10:20 +01:00
parent aae5275990
commit 60ca4ad656

View File

@@ -351,6 +351,15 @@ jobs:
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H alpha.mintel.me >> ~/.ssh/known_hosts 2>/dev/null
# SSH keepalive to prevent timeout during long docker pull
cat > ~/.ssh/config <<SSHCFG
Host alpha.mintel.me
ServerAliveInterval 15
ServerAliveCountMax 20
ConnectTimeout 30
SSHCFG
chmod 600 ~/.ssh/config
if [[ "$TARGET" == "production" ]]; then
SITE_DIR="/home/deploy/sites/mintel.me"
elif [[ "$TARGET" == "testing" ]]; then