lf
This commit is contained in:
parent
34da23de0a
commit
c1e279e9f2
@ -43,8 +43,11 @@ jobs:
|
||||
curl -T ./$upload_name ${{ vars.FTP_SERVER_URL }}${{ inputs.ftpPath }} --user "${{ vars.FTP_USER }}:${{ vars.FTP_PASSWORD }}"
|
||||
echo "Uploading finished $upload_name"
|
||||
|
||||
echo "TXT Filename is ${{ inputs.txtFileName }}"
|
||||
if [ "${{ inputs.txtFileName }}" != "" ]; then
|
||||
echo "Uploading additional Text File ${{ inputs.txtFileName }}"
|
||||
printf "%b" "${{ inputs.txtFileContent }}" > ${{ inputs.txtFileName }}
|
||||
curl -T ./${{ inputs.txtFileName }} ${{ vars.FTP_SERVER_URL }}${{ inputs.ftpPath }} --user "${{ vars.FTP_USER }}:${{ vars.FTP_PASSWORD }}"
|
||||
fi
|
||||
|
||||
echo "Ftp Upload done"
|
Loading…
Reference in New Issue
Block a user