From d0bcc2ae7d4886f6d3ee9383874318df868fc2ac Mon Sep 17 00:00:00 2001 From: isUnknown Date: Wed, 30 Jul 2025 15:43:08 +0200 Subject: [PATCH] CI : try to cd instead of adding path to the host --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23c5f8e..ef7c502 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,5 +36,6 @@ build and deploy: - lftp -c " set sftp:auto-confirm yes; open -u $USERNAME,$PASSWORD sftp://$HOST; - put -O / test.txt; + cd $PROD_PATH; + put test.txt; quit"