Skip to content

Commit bb611f7

Browse files
author
梁志伟
committed
Merge remote-tracking branch 'origin/main'
2 parents 5bd6e64 + 379c322 commit bb611f7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/action.yml

+18
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)