Skip to content

Commit 4b04bdf

Browse files
Update monthly_album_digest.yaml
1 parent 97fe4a7 commit 4b04bdf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/monthly_album_digest.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)