CI : try to cd instead of adding path to the host
This commit is contained in:
parent
f52c26f0df
commit
d0bcc2ae7d
1 changed files with 2 additions and 1 deletions
|
|
@ -36,5 +36,6 @@ build and deploy:
|
||||||
- lftp -c "
|
- lftp -c "
|
||||||
set sftp:auto-confirm yes;
|
set sftp:auto-confirm yes;
|
||||||
open -u $USERNAME,$PASSWORD sftp://$HOST;
|
open -u $USERNAME,$PASSWORD sftp://$HOST;
|
||||||
put -O / test.txt;
|
cd $PROD_PATH;
|
||||||
|
put test.txt;
|
||||||
quit"
|
quit"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue