We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5bd6e64 + 379c322 commit bb611f7Copy full SHA for bb611f7
.github/workflows/action.yml
@@ -0,0 +1,18 @@
1
+name: GitHub Action Demo
2
+on: [push]
3
+jobs:
4
+ build:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ # 发送邮件
8
+ - name: Send email
9
+ uses: dawidd6/action-send-mail@v3
10
+ with:
11
+ server_address: smtp.qq.com
12
+ server_port: 465
13
+ username: ${{secrets.MAIL_USERNAME}}
14
+ password: ${{secrets.MAIL_PASSWORD}}
15
+ subject: Github Actions job result
16
+ to: ${{secrets.MAIL_TOUSERNAME}}
17
+ from: ${{secrets.MAIL_USERNAME}}
18
+ body: ${{github.repository}} push log
0 commit comments