2022-08-23 04:14:06 -05:00
|
|
|
#!/usr/bin/env bash
|
2021-04-04 15:09:16 -05:00
|
|
|
|
2022-08-23 04:14:06 -05:00
|
|
|
cp "$ASSET_PATH" "$PUBLISH_FILENAME"
|
|
|
|
LFTP_PASSWORD=$PUBLISH_PASSWORD lftp -c "open --user '$PUBLISH_USERNAME' --env-password -e 'set ftp:ssl-protect-data true; set ssl:verify-certificate false; put \"$PUBLISH_FILENAME\";' ftp://$PUBLISH_HOSTPORT"
|