skip when -
This commit is contained in:
parent
f6e4ee92a3
commit
c857300136
@ -44,7 +44,7 @@ jobs:
|
||||
echo "Uploading finished $upload_name"
|
||||
|
||||
echo "TXT Filename is '${{ inputs.txtFileName }}'"
|
||||
if [ "${{ inputs.txtFileName }}" != "skip" ]; then
|
||||
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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user