Skip to content

Commit 97fe4a7

Browse files
Update monthly_album_digest.yaml
1 parent 8b02257 commit 97fe4a7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/monthly_album_digest.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ jobs:
2626
stack exec monthly-rewind >> $GITHUB_OUTPUT
2727
echo 'EOF' >> $GITHUB_OUTPUT
2828
29-
- name: Send Email
29+
- name: Send email via Mailgun
3030
id: send_email
3131
run: |
3232
TEXT="${{ steps.run.outputs.text }}"
33-
curl -s --user 'api:${{ secrets.MAILGUN_API_KEY }}' \
33+
curl -s --user "api:${{ secrets.MAILGUN_API_KEY }}" \
3434
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' \
35+
-F from="Mailgun Sandbox <postmaster@${{ secrets.MAILGUN_SERVER }}>" \
36+
-F to="Tsung-Ju Lii <usefulalgorithm@gmail.com>" \
37+
-F subject="Monthly Digest" \
3838
--data-urlencode text="$TEXT"
39-

0 commit comments

Comments
 (0)