Skip to content

Commit b65af9b

Browse files
authored
-
1 parent c131e3a commit b65af9b

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1-
name: Started Notify
1+
name: Star Notify
22
on:
33
watch:
44
types: [ started ]
55
jobs:
66
Notify:
77
runs-on: ubuntu-latest
88
steps:
9-
- name: Download Scripts
9+
- name: Download Script
1010
run: |
1111
wget https://raw.githubusercontent.com/foyoux/started-notify/main/.github/workflows/started_notify.py#${{github.run_id}}
12-
- name: Send Notify Email
12+
- name: Send Email
13+
env:
14+
SMTP_HOST: ${{ secrets.NOTIFY_SMTP_HOST }}
15+
SMTP_PORT: ${{ secrets.NOTIFY_SMTP_PORT }}
16+
SMTP_USER: ${{ secrets.NOTIFY_SMTP_USER }}
17+
SMTP_PASSWORD: ${{ secrets.NOTIFY_SMTP_PASSWORD }}
18+
STARGAZER_LOGIN: ${{ github.actor }}
1319
run: |
14-
python started_notify.py ${{github.token}} ${{secrets.NOTIFY_EMAIL}}
20+
python started_notify.py ${{github.token}} "${{secrets.NOTIFY_EMAIL}}"

0 commit comments

Comments
 (0)