From 0f747f14d22f994a621b9393d635487b3f830b87 Mon Sep 17 00:00:00 2001 From: lockeshor Date: Sat, 19 Sep 2026 02:36:14 -0400 Subject: [PATCH] speedup --- .gitea/workflows/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3c1e735..40c72cb 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -100,8 +100,10 @@ jobs: # algorithms some CMU hosts still use that modern OpenSSH disables # by default (a common cause of a silent connection failure). # - # `debug 3` prints the negotiation so any remaining failure is visible - # in the job log instead of just "max-retries exceeded". + # To debug connection problems, temporarily add `debug 3;` before the + # open line and `--verbose` to the mirror — both are omitted here to + # keep the job log small (large logs slow the "Complete job" upload + # back to the off-campus Gitea). lftp -c " set sftp:auto-confirm yes; set sftp:connect-program 'ssh -a -x \ @@ -114,10 +116,9 @@ jobs: set net:max-retries 2; set net:timeout 30; set net:reconnect-interval-base 5; - debug 3; open -u '${SFTP_USERNAME}','${SFTP_PASSWORD}' sftp://${SFTP_HOST}:${PORT}; mkdir -f -p '${SFTP_REMOTE_PATH}'; - mirror -R --delete --verbose ./dist/ '${SFTP_REMOTE_PATH}'; + mirror -R --delete --only-newer ./dist/ '${SFTP_REMOTE_PATH}'; bye "