@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
send-mail:
|
send-mail:
|
||||||
runs-on: texlive
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: texlive:latest
|
image: texlive:latest
|
||||||
steps:
|
steps:
|
||||||
@ -17,4 +17,18 @@ jobs:
|
|||||||
- name: 自动编译
|
- name: 自动编译
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./complie.sh
|
chmod +x ./complie.sh
|
||||||
./complie.sh
|
./complie.sh
|
||||||
|
|
||||||
|
- name: Send mail
|
||||||
|
uses: betterfor/action-send-mail@main
|
||||||
|
with:
|
||||||
|
server_address: smtp.qiye.aliyun.com
|
||||||
|
server_port: 465
|
||||||
|
username: ${{ secrets.MAIL_USERNAME }}
|
||||||
|
password: ${{ secrets.MAIL_PASSWORD }}
|
||||||
|
subject: LaTeX Build Result
|
||||||
|
to: ${{secrets.RECIVER_EMAIL}}
|
||||||
|
from: LaTeX Auto Build<no-reply@cloud.jamaccao.cn>
|
||||||
|
body: Build job of ${{ github.repository }} completed successfully!
|
||||||
|
html_body: file://main.pdf
|
||||||
|
attachments: main.pdf
|
||||||
在新工单中引用
屏蔽一个用户