Merge branch 'main' of https://gitea.greyhound-software.com/deploy/reusable-workflows
This commit is contained in:
commit
c5ae861423
@ -29,7 +29,7 @@ jobs:
|
||||
cd ${{ inputs.packagePath }}
|
||||
fi
|
||||
|
||||
npm version --no-git-tag-version ${{ inputs.version }}
|
||||
npm version --allow-same-version --no-git-tag-version ${{ inputs.version }}
|
||||
|
||||
echo "Change Directory back to $git_path"
|
||||
cd $git_path
|
||||
|
@ -43,8 +43,8 @@ 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 }}" != "" ] && [ "${{ inputs.txtFileContent }}" != "" ]; then
|
||||
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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user