1
0

add debug

This commit is contained in:
Marco Maatz 2024-10-24 10:31:38 +02:00
parent 621d3b0e4c
commit 108c7c26d6

View File

@ -39,10 +39,11 @@ jobs:
upload_name=${{ inputs.uploadName }} upload_name=${{ inputs.uploadName }}
fi fi
echo "Uploading $upload_name"
curl -T ./$upload_name ${{ vars.FTP_SERVER_URL }}${{ inputs.ftpPath }} --user "${{ vars.FTP_USER }}:${{ vars.FTP_PASSWORD }}" curl -T ./$upload_name ${{ vars.FTP_SERVER_URL }}${{ inputs.ftpPath }} --user "${{ vars.FTP_USER }}:${{ vars.FTP_PASSWORD }}"
if [ "${{ inputs.txtFileName }}" != "" ]; then if [ "${{ inputs.txtFileName }}" != "" ]; then
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