diff --git a/.gitea/workflows/sendQAMail.yaml b/.gitea/workflows/sendQAMail.yaml index 624de6a..fd43781 100644 --- a/.gitea/workflows/sendQAMail.yaml +++ b/.gitea/workflows/sendQAMail.yaml @@ -34,16 +34,20 @@ jobs: - name: Create Email run: | - echo "Subject: Neues Release [${{ env.GITHUB_REPOSITORY }}]" > email.txt - echo "From: ${{ vars.SMTP_SENDER }}" > email.txt - echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.txt - echo "" >> email.txt - echo "Ein neues Release für [${{ env.GITHUB_REPOSITORY }}] wurde erstellt." >> email.txt - echo "" >> email.txt - echo "Version: ${{ inputs.version }}" >> email.txt - echo "https://gitea.greyhound-software.com/greyhound/dashboard/milestone/${{ inputs.milestone }}" >> email.txt - echo "https://gitea.greyhound-software.com/greyhound/dashboard/releases/tag/${{ inputs.tag }}" >> email.txt - + echo "Subject: Neues Release [${{ env.GITHUB_REPOSITORY }}]" > email.html + echo "From: ${{ vars.SMTP_SENDER }}" > email.html + echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.html + echo "Content-Type: text/html; charset=UTF-8" >> email.html + + echo "" >> email.html + echo "" >> email.html + echo "" >> email.html + echo "Ein neues Release für [${{ env.GITHUB_REPOSITORY }}] wurde erstellt." >> email.html + echo "

Version: ${{ inputs.version }}

" >> email.html + echo "

Milestone: https://gitea.greyhound-software.com/greyhound/dashboard/milestone/${{ inputs.milestone }}

" >> email.html + echo "

Release: https://gitea.greyhound-software.com/greyhound/dashboard/releases/tag/${{ inputs.tag }}

" >> email.html + echo "" >> email.html + echo "" >> email.html - name: Send Email run: | - msmtp --debug ${{ vars.SMTP_QA_RECIPIENT }} < email.txt + msmtp --debug ${{ vars.SMTP_QA_RECIPIENT }} < email.html