Skip to content

Commit 05a49a3

Browse files
committed
add email sending
1 parent ae9f976 commit 05a49a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/weekly_clone_stats.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
5959
- name: Send custom email
6060
run: |
61-
ENCODED_AUTH=$(echo -n "apiKey:${{ secrets.SENDGRID_KEY }}" | base64)
61+
USERNAME=$(echo -n "apikey" | base64)
62+
ENCODED_AUTH=$(echo -n "$USERNAME:${{ secrets.SENDGRID_KEY }}" | base64)
6263
6364
curl -X POST https://api.sendgrid.com/v3/mail/send \
6465
-H "Authorization: Basic $ENCODED_AUTH" \

0 commit comments

Comments
 (0)