1
0
This commit is contained in:
Marco Maatz 2024-10-24 11:14:28 +02:00
parent ebbad63547
commit d8ae453637

View File

@ -45,9 +45,9 @@ jobs:
echo "TXT Filename is ${{ inputs.txtFileName }}" echo "TXT Filename is ${{ inputs.txtFileName }}"
if [ "${{ inputs.txtFileName }}" != "" ]; then if [ "${{ inputs.txtFileName }}" != "" ]; then
echo "Uploading additional Text File ${{ inputs.txtFileName }}" echo "Uploading additional Text File ${{ inputs.txtFileName }}"
printf "%b" "${{ inputs.txtFileContent }}" > ${{ 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 }}" curl -T ./${{ inputs.txtFileName }} ${{ vars.FTP_SERVER_URL }}${{ inputs.ftpPath }} --user "${{ vars.FTP_USER }}:${{ vars.FTP_PASSWORD }}"
fi fi
echo "Ftp Upload done" echo "Ftp Upload done"