Face bug on tutorial code #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Email Notification | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
send-email: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Email Notification | |
uses: dawidd6/action-send-mail@v2 | |
with: | |
server_address: smtp.gmail.com | |
server_port: 587 | |
username: ${{ secrets.EMAIL_USERNAME }} | |
password: ${{ secrets.EMAIL_PASSWORD }} | |
subject: 'New Issue Created' | |
to: 'yangtia1@gmail.com' | |
from: 'yangtia1@gmail.com' | |
body: 'A new issue has been created in your GitHub repository.' |