From 619b86414c0964f275d53945716745354c57571e Mon Sep 17 00:00:00 2001 From: isUnknown Date: Wed, 30 Jul 2025 15:44:37 +0200 Subject: [PATCH] CI : try to fix --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ef7c502..c19ba8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,12 +30,11 @@ build and deploy: - main image: node:latest before_script: - - apt-get update -qq && apt-get install -y -qq lftp + - apt-get update -qq && apt-get install -y sshpass script: - echo "test" > test.txt - - lftp -c " - set sftp:auto-confirm yes; - open -u $USERNAME,$PASSWORD sftp://$HOST; - cd $PROD_PATH; - put test.txt; - quit" + - sshpass -p "$PASSWORD" sftp -o StrictHostKeyChecking=no $USERNAME@$HOST <