CI : try to fix

This commit is contained in:
isUnknown 2025-07-30 15:44:37 +02:00
parent d0bcc2ae7d
commit 619b86414c

View file

@ -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 <<EOF
cd $PROD_PATH
put test.txt
bye
EOF