add debug
This commit is contained in:
parent
621d3b0e4c
commit
108c7c26d6
@ -39,10 +39,11 @@ jobs:
|
||||
upload_name=${{ inputs.uploadName }}
|
||||
fi
|
||||
|
||||
echo "Uploading $upload_name"
|
||||
curl -T ./$upload_name ${{ vars.FTP_SERVER_URL }}${{ inputs.ftpPath }} --user "${{ vars.FTP_USER }}:${{ vars.FTP_PASSWORD }}"
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user