From 108c7c26d67c16c3e9ce174620325c5c455a1910 Mon Sep 17 00:00:00 2001 From: Marco Maatz Date: Thu, 24 Oct 2024 10:31:38 +0200 Subject: [PATCH] add debug --- .gitea/workflows/uploadArtifactWithFtp.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/uploadArtifactWithFtp.yaml b/.gitea/workflows/uploadArtifactWithFtp.yaml index 1dd0ffe..be20d63 100644 --- a/.gitea/workflows/uploadArtifactWithFtp.yaml +++ b/.gitea/workflows/uploadArtifactWithFtp.yaml @@ -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 + 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 - \ No newline at end of file