mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[BUGFIX] Added public_html to directory
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
local_file="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1)"
|
||||
local_path="$(ls $TRAVIS_BUILD_DIR/target/final/Parabot-V*.jar | head -n 1 | xargs -n 1 basename)"
|
||||
target_url='ftp://$FTP_HOST/~/uploads/version_control/$local_file'
|
||||
target_url='ftp://$FTP_HOST/~/public_html/uploads/version_control/$local_file'
|
||||
|
||||
echo "Uploading $local_file to $target_url"
|
||||
curl -u $FTP_USERNAME:$FTP_PASSWORD -T "$local_path" "$target_url"
|
||||
Reference in New Issue
Block a user