File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ jobs:
2727 echo 'EOF' >> $GITHUB_OUTPUT
2828
2929 - name : Send email via Mailgun
30- id : send_email
3130 run : |
32- TEXT="${{ steps.run.outputs.text }}"
31+ echo "${{ steps.run.outputs.text }}" > body.txt
32+
3333 curl -s --user "api:${{ secrets.MAILGUN_API_KEY }}" \
34- https://api.mailgun.net/v3/${{ secrets.MAILGUN_SERVER }}/messages \
35- -F from="Mailgun Sandbox <postmaster@${{ secrets.MAILGUN_SERVER }}>" \
36- -F to="Tsung-Ju Lii <usefulalgorithm@gmail.com>" \
37- -F subject="Monthly Digest" \
38- --data-urlencode text="$TEXT"
34+ https://api.mailgun.net/v3/${{ secrets.MAILGUN_SERVER }}/messages \
35+ -F from="Mailgun Sandbox <postmaster@${{ secrets.MAILGUN_SERVER }}>" \
36+ -F to="Tsung-Ju Lii <usefulalgorithm@gmail.com>" \
37+ -F subject="Monthly Digest" \
38+ --form text=<body.txt
You can’t perform that action at this time.
0 commit comments